1
.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
2
.\" Written by Jan Safranek <jsafrane@redhat.com>.
3
.TH CGRULESENGD 8 2009-02-18 "Linux" "libcgroup Manual"
5
cgrulesengd \- control group rules daemon
8
\fBcgrulesengd\fR [options]
11
\fBcgrulesengd\fR is a daemon, which distributes processes to control groups. When
12
any process changes its effective UID or GID, \fBcgrulesengd\fR inspects list
13
of rules loaded from \fIcgrules.conf\fR file and moves the process to
14
the appropriate control group.
16
The list of rules is read during the daemon startup and are cached in daemon's memory.
17
The daemon reloads the list of rules when it receives SIGUSR2 signal.
19
The daemon opens a standard unix socket to receive 'sticky' requests from
27
.B -f <path>|--logfile=<path>
28
Write log messages to the given log file. When '-' is used as <path>, log messages
29
are written to the standard output. Both '\fB-f\fR' and '\fB-s\fR' can be used together then logs
30
are sent to both destinations.
32
.B -s[facility]|--syslog=[facility]
33
Write log messages to syslog. The default facility is DAEMON. Both '\fB-f\fR'
34
and '\fB-s\fR' can be used together then logs are sent to both destinations.
37
Don't fork the daemon, stay in foreground.
40
Display more log messages. This option can be used twice to enable even more log
44
Display less log messages. This option can be used twice to enable even less log
45
messages and log errors only.
51
Equivalent to '-nvvf -', i.e. don't fork the daemon, display all log messages and
52
write them to the standard output.
54
.B -u <user>|--socket-user=<user>
55
.B -g <group>|--socket-group=<group>
56
Set owner of cgrulesengd socket. It assumes that cgexec tool runs with proper
57
suid permissions so it can write to the socket when cgexec --sticky is used.
64
the default libcgroup configuration file