[systemd-devel] [PATCH] sysv-generator: Do not generate units for files handled by rc-local generator

Michael Biebl mbiebl at gmail.com
Fri Jan 23 14:34:24 PST 2015


2015-01-23 18:51 GMT+01:00 Lennart Poettering <lennart at poettering.net>:
> I'd even remove rc-local.service from Debian. If this is a normal
> sysvinit script, treat it as such, and let sysv-generator do its deed
> on it.

The /etc/init.d/rc.local init script does nothing else then run
/etc/rc.local, in case this file is executable.

By using the native rc-local.service file, we avoid one bash invocation.
Not that big of a deal, but if we can avoid that, why not.


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


More information about the systemd-devel mailing list