[Syslog-ng-maintainers] Bug#769499: syslog-ng-core fails to enable systemd service unit

Simon McVittie smcv at debian.org
Fri Nov 14 10:29:30 GMT 2014


On 14/11/14 03:50, Sam Hartman wrote:
> # Automatically added by dh_installinit
> if [ -x "/etc/init.d/syslog-ng" ]; then
> 	update-rc.d syslog-ng defaults 10 90 >/dev/null || exit $?
> fi
> # End automatically added section

That should be enough to enable "syslog-ng.service", because Debian's
update-rc.d knows that /etc/init.d/foo in sysvinit corresponds to
foo.service in systemd, and keeps their enabledness states in sync.

If syslog-ng needs other units to be enabled, *those* might need to be
enabled explicitly, but I don't see any others in the source package?

    S




More information about the Syslog-ng-maintainers mailing list