svscan-log
service
The svscan-log
service can be used to log
svscan
's
and
supervise
's
output. After restarting svscan
to run under svclean, make a
recursive copy of this template service directory
(/package/admin/svclean-conf/svscan-log
) alongside your other
service directories, customize the copy however you like, and create a
symlink in /service
, pointing to the copy. By default, this
service uses the
statfile
and
setstate
commands from
fdtools and
idtools, respectively, to run
multilog
as the uid and gid owning main/current
; if you prefer, you can
edit the run script to use
setuidgid
from daemontools
instead.