"Adam D. McKenna" wrote:

> From: <[EMAIL PROTECTED]>
>
> :/usr/local/bin/supervise /var/run/supervise/qmail-send env - \
> :PATH="/usr/local/bin:$PATH" TZ=MSK-3MSD \
> :/var/qmail/bin/qmail-start '|preline procmail' /usr/local/bin/accustamp \
> :| /usr/local/bin/cyclog -s100004000 -n5 /var/log/maillog &
>
> Well, first of all cyclog doesn't log to a file, it logs to a directory.
>
> Second of all you're going to give cyclog 500 megs of logs?  (n5 x 100 megs
> specified in -s)
>
> Third, make sure there are no spaces after the \ characters you have at the
> end of your lines.
>
> Make sure /var/log/maillog/ exists and is a directory.
>
> >NAME
> >       supervise - start and monitor a service
> >
> >SYNOPSIS
>        >supervise [ -rsudox ] dir program [ args ...  ]
>
> I.E. you may want to do those "env" commands BEFORE running supervise.
>
> --Adam

Excuse my ignorance to this feature, but how would qmail handle logging to a
directory? Does it automatically break down by date, etc? I've never run
across this feature in the mans, etc but it sounds very useful.

--
Cris Daniluk                                   [EMAIL PROTECTED]
-------------------------------------------------------------
Digital Services Network, Inc.           http://www.dsnet.net
1129 Niles-Cortland Road, Warren, Ohio 44484  [EMAIL PROTECTED]
(330) 609-8624 ext. 20                     Fax (330) 609-9990
                 The Web Hosting Specialists
-------------------------------------------------------------


Reply via email to