Re: Bug#831370: RFS: dh-runit/0.3
> My question was if log/run is automatically picked up if it exists, or
> needs to be installed with an additional command.
What is done:
* If you have following line in your PACKAGE.runit
enable debian/runscript-directory PACKAGE
you will have debian/runscript-directory recursively installed as
/etc/sv/PACKAGE. As such, if debian/runscript-directory/log/run
exists, so will /etc/sv/PACKAGE/log/run.
What is not done:
* symbolic link /etc/sv/PACKAGE/log/run/main -> /var/log/runit/PACKAGE
should be created
* /var/log/runit/PACKAGE should be created
* trivial 'log/run' script with 'exec svlogd -vv main' content should
be created automatically, unless already provided by package.
I plan to introduce missing functionality when:
* runit is actually uploaded to unstable
* runit-init is actually installable (currently it indirectly
conflicts with 'init' metapackage)
* I propose <foo>-run patch for package <foo>, which need logging.
(AFAIK, getty does not need logging. At least, fgetty does not.)
If you want to start working on adding runscripts right now, and need
missing functionality, just ask, and I will add it.
--
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Web-Site: sinsekvu.github.io
Reply to: