1CGRULESENGD(8)                 libcgroup Manual                 CGRULESENGD(8)
2
3
4

NAME

6       cgrulesengd - control group rules daemon
7
8

SYNOPSIS

10       cgrulesengd [options]
11
12

DESCRIPTION

14       cgrulesengd is a daemon, which distributes processes to control groups.
15       When any process changes its effective UID or GID, cgrulesengd inspects
16       the  list  of  rules  loaded  from  the cgrules.conf file and moves the
17       process to the appropriate control group.
18
19       The list of rules is read during the daemon startup is  are  cached  in
20       the  daemon's  memory.   The  daemon  reloads the list of rules when it
21       receives SIGUSR2 signal.  The daemon reloads the list of templates when
22       it receives SIGUSR1 signal.
23
24       The  daemon  opens  a standard unix socket to receive 'sticky' requests
25       from cgexec.
26
27

OPTIONS

29       -h|--help
30              Display help.
31
32       -f <path>|--logfile=<path>
33              Write log messages to the given log file. When '-'  is  used  as
34              <path>, log messages are written to the standard output. If '-f'
35              and '-s' are used together, the logs are sent to  both  destina‐
36              tions.
37
38
39       -s[facility]|--syslog=[facility]
40              Write log messages to syslog. The default facility is DAEMON. If
41              '-f' and '-s' are used together, the logs are sent to both  des‐
42              tinations.
43
44       -n|--nodaemon
45              Don't fork the daemon, stay in the foreground.
46
47       -v|--verbose
48              Display  more  log messages. This option can be used three times
49              to enable more verbose log messages.
50
51       -q|--quiet
52              Display less log messages.
53
54       -Q|--nolog
55              Disable logging.
56
57       -d|--debug
58              Equivalent to '-nvvvf -', i.e. don't fork  the  daemon,  display
59              all log messages and write them to the standard output.
60
61       -u <user>|--socket-user=<user>
62              -g  <group>|--socket-group=<group>  Set the owner of cgrulesengd
63              socket. Assumes that cgexec runs with proper suid permissions so
64              it can write to the socket when cgexec --sticky is used.
65
66

ENVIRONMENT VARIABLES

68       CGROUP_LOGLEVEL
69              controls  verbosity of the tool. Allowed values are DEBUG, INFO,
70              WARNING or ERROR.
71
72

FILES

74       /etc/cgrules.conf
75              the default libcgroup configuration file
76
77       /etc/cgconfig.conf
78              the default templates file
79
80       /etc/cgconfig.d/
81              the default templates directory
82
83

SEE ALSO

85       cgrules.conf (5)
86
87
88
89Linux                             2009-02-18                    CGRULESENGD(8)
Impressum