[systemd-devel] How do I disable old init.d scripts?
Paul Menzel
paulepanter at users.sourceforge.net
Tue Jun 26 15:55:33 PDT 2012
Am Montag, den 25.06.2012, 15:31 +0200 schrieb Koen Kooi:
> Op 25 jun. 2012, om 15:25 heeft Paul Menzel het volgende geschreven:
> > how can I disable init.d scripts which systemd loads for compatibility
> > reasons?
> >
> > $ ls /etc/init.d/motd (or any other init.d script)
> > /etc/init.d/motd
> > $ systemd-analyze blame | grep motd
> > 543ms motd.service
> > $ sudo systemctl disable motd.service
> > Failed to issue method call: No such file or directory
>
> Try:
>
> systemctl mask motd.service
That worked and userspace now takes less than three seconds on the
Debian Sid/unstable system.
Thanks a million,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120627/e641fcb8/attachment.pgp>
More information about the systemd-devel
mailing list