equivalent of chkconfig

Martin Pitt martin.pitt at ubuntu.com
Tue Aug 18 22:05:06 UTC 2015

Tom H [2015-08-18  9:33 -0400]:
> # When this machine is running systemd, standard service calls are turned into
> # systemctl calls.
> </end>
> And this is what you want for the sake of consistency.
> I don't understand how "/etc/init.d/postfix status" is diverted to
> systemctl for postfix but it is.

FYI, this is via /lib/lsb/init-functions.d/40-systemd that gets run
through the standard /lib/lsb/init-functions which every SysV init
script is supposed to source.

Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

More information about the Ubuntu-devel-discuss mailing list