Hi Milan,

Am 04.07.2014 15:22, schrieb Milan P. Stanic:
> And for runit:

Thanks for sharing.


> cat /etc/systemd/system/runit.service
> [Unit]
> Description=runit svscan
> After=syslog.target

The After=syslog.target is no longer necessary and not recommended
anymore. Lintian will actually complain about that.
Syslog is started via socket activation nowadays making this explicit
ordering obsolete.

> 
> [Service]
> ExecStart=/usr/bin/runsvdir -P /etc/service 'log: 
> ...........................................................................................................................................................................................................................................................................................................................................................................................................'
> 
> [Install]
> WantedBy=networking.service

Services should be hooked up in targets. So WantedBy=networking.service
looks wrong.

In the vast majority of cases you want WantedBy=multi-user.target


Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to