[systemd-devel] How do I disable old init.d scripts?

Lennart Poettering lennart at poettering.net
Mon Jun 25 06:38:15 PDT 2012


On Mon, 25.06.12 15:25, Paul Menzel (paulepanter at users.sourceforge.net) wrote:

> 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

On Fedora we defer to chkconfig automatically for sysv services. This
hookup is currently missing for Debian, but I'd be willing to merge a
patch for that.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list