equivalent of chkconfig

Martin Pitt martin.pitt at ubuntu.com
Mon Aug 17 18:43:53 UTC 2015

Oliver Grawert [2015-08-17 15:24 +0200]:
> if you need to prevent an upstart service from starting on boot you need
> to create a .override files containing the word "manual", as described
> in your askubuntu links. i dont think there exists a tool to do that for
> you (and such a tool would be quite overkill to replace a one liner
> anyway :) )

"update-rc.d enable|disable" actually does work for upstart jobs (by
creating said override files) just as well as it works for SysV init
and systemd units.

> note that by debian policy a service shipped in a deb is required to
> always start, the debian assumption is that you uninstall the deb if you
> do not want to run the service ([1] has some details). 

For the record, in the systemd world you can do that with (local)
presets. We just don't respect them yet, that's a rather long-standing
TODO in the Debian/Ubuntu packages.


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