Re: Bug#831370: RFS: dh-runit/0.3
> how are runit features like disabled services (via the "down" file, for
> the case that a service should be visible to runit but not started by
> default)
At bootup (entering stage 2, more correct), every service in /etc/service is started.
/etc/service contains symbolic links to /etc/sv/<foo>, so if you do not want service
to be started at boot, just remove symlink. After boot, you can bring service down
via 'sv down <service>'.
You can have arbitrary amount of 'runlevels' -- predefined sets of
services you want to run. See runsvchdir(8).
> log services handled?
Every service process is expected to write logging on it's stdout, which is piped
to log/run script. Usually, it invokes `svlogd'. `dh-runit' do not handle creating
log directory yet, since so far all it users are tty's, which do not log.
Was my response helpful, or I misunderstood your question?
--
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Web-Site: sinsekvu.github.io
Reply to: