On Thu, Feb 26, 2009 at 12:19:59PM +0100, Jan Safranek wrote: > Add cgrulesengd man page and install it on 'make install'. > > Rebased to lastes trunk. > > Signed-off-by: Jan Safranek <[email protected]> > --- > > Makefile.in | 2 ++ > doc/man/cgrulesengd.8 | 60 > +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 62 insertions(+), 0 deletions(-) > create mode 100644 doc/man/cgrulesengd.8 > > diff --git a/Makefile.in b/Makefile.in > index 4ceea4b..58c4316 100644 > --- a/Makefile.in > +++ b/Makefile.in > @@ -80,6 +80,7 @@ install: $(TARGETS) > $(INSTALL) -D doc/man/cgconfig.conf.5 > $(DESTDIR)$(mandir)/man5/cgconfig.conf.5 > $(INSTALL) -D doc/man/cgrules.conf.5 > $(DESTDIR)$(mandir)/man5/cgrules.conf.5 > $(INSTALL) -D doc/man/cgconfigparser.8 > $(DESTDIR)$(mandir)/man8/cgconfigparser.8 > + $(INSTALL) -D doc/man/cgrulesengd.conf.8 > $(DESTDIR)$(mandir)/man8/cgrulesengd.conf.8 > $(INSTALL) -D pam_cgroup.so $(DESTDIR)$(libdir)/security/pam_cgroup.so > > uninstall: libcgroup.so > @@ -92,6 +93,7 @@ uninstall: libcgroup.so > rm -f $(DESTDIR)$(bindir)/cgclassify > rm -f $(DESTDIR)$(bindir)/cgrulesengd > rm -f $(DESTDIR)$(mandir)/man5/cgconfig.conf.5 > + rm -f $(DESTDIR)$(mandir)/man8/cgrulesengd.conf.8 > rm -f $(DESTDIR)$(libdir)/security/pam_cgroup.so > > clean: > diff --git a/doc/man/cgrulesengd.8 b/doc/man/cgrulesengd.8
So is this file cgrulesengd.conf.8 or cgrulesengd.8? > new file mode 100644 > index 0000000..5e1985a > --- /dev/null > +++ b/doc/man/cgrulesengd.8 > @@ -0,0 +1,60 @@ > +.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved. > +.\" Written by Jan Safranek <[email protected]>. > +.TH CGRULESENGD 8 2009-02-18 "Linux" "libcg Manual" > +.SH NAME > +cgrulesengd \- control group rules daemon > + > +.SH SYNOPSIS > +\fBcgrulesengd\fR [options] > + > +.SH DESCRIPTION > +\fBcgrulesengd\fR is a daemon, which distributes processes to control > groups. When > +any process changes its effective UID or GID, \fBcgrulesengd\fR inspects list > +of rules loaded from \fIcgrules.conf\fR file and moves the process to > +the appropriate control group. > + > +The list of rules is read during the daemon startup and are cached in > daemon's memory. > +The daemon reloads the list of rules when it receives SIGUSR2 signal. > + > +.SH OPTIONS > +.TP > +.B -h|--help > +Display help. > +.TP > +.B -f <path>|--logfile=<path> > +Write log messages to the given log file. When '-' is used as <path>, log > messages > +are written to the standard output. Both '\fB-f\fR' and '\fB-s\fR' can be > used together then logs > +are sent to both destinations. > +.TP > +.B -s[facility]|--syslog=[facility] > +Write log messages to syslog. The default facility is DAEMON. Both '\fB-f\fR' > +and '\fB-s\fR' can be used together then logs are sent to both destinations. > +.TP > +.B -n|--nodaemon > +Don't fork the daemon, stay in foreground. > +.TP > +.B -v|--verbose > +Display more log messages. This option can be used twice to enable even more > log > +messages. > +.TP > +.B -q|--quiet > +Display less log messages. This option can be used twice to enable even less > log > +messages and log errors only. > +.TP > +.B -Q|--nolog > +Disable logging. > +.TP > +.B -d|--debug > +Equivalent to '-nvvf -', i.e. don't fork the daemon, display all log > messages and > +write them to the standard output. > + > +.SH FILES > +.LP > +.PD .1v > +.TP 20 > +.B /etc/cgrules.conf > +.TP > +the default libcgroup configuration file > + > +.SH SEE ALSO > +cgrules.conf (5) > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Libcg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libcg-devel -- regards, Dhaval ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
