On Sat, Jan 15, 2005, F. Even wrote:

> Ralf S. Engelschall wrote:
> >Just add to your <prefix>/etc/rc.conf:
> >
> >  postfix_log_numfiles="20"
> >  postfix_log_minsize=""
> >
> >This way the logs should be rotated every night, independent of
> >the size and the last 20 logfiles are kept.
>
> OK...very nifty, thanks!!  I'm guessing then that the rc.<application>
> configurations in /etc/rc.d should be left alone, kind of like
> "defaults" folders in FreeBSD (such as /etc/defaults) and changes only
> made to rc.conf?

Yes. rc.foo files are not intended to be changed. All their %config
variables can be overridden in rc.conf.

> Also...is there any documentation on the meaning of the different variables?

Unfortunately, no. But most of them are easy to deduce from inspecting
the rc.foo and reading the manpage for the "foo" daemon.

> Like, how would I go about finding out what the purpose of these are:
>
>     postfix_log_prolog="true"
>     postfix_log_epilog="true"
>     postfix_log_complevel="9"

By reading rc.postfix, recognizing that these are just passed as option
arguments to "shtool rotate" and then reading the manual page for GNU
shtool to see what they are actually doing...

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [email protected]

Reply via email to