[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Daemontools

On Tue, Jan 30, 2001 at 06:41:10PM -0600, Nathan E Norman wrote:
> DAEMON=daemon           # real name here, eh
> DESC=some description
> case "$1" in
>   start)
>         echo -n "Starting $DESC: "
>         svc -u /etc/service/$DAEMON
>         if [ -d /etc/service/$DAEMON/log ]; then
>                 svc -u /etc/service/$DAEMON/log

this fails to set the pipe between run and log/run properly.
this is one of the things that svscan guarantees. (provided that the
$DAEMON directory is sticky, of course)


Reply to: