[systemd-devel] How do I disable old init.d scripts?
Koen Kooi
koen at dominion.thruhere.net
Mon Jun 25 06:31:25 PDT 2012
Op 25 jun. 2012, om 15:25 heeft Paul Menzel het volgende geschreven:
> Dear systemd folks,
>
>
> 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
regards,
Koen
More information about the systemd-devel
mailing list