equivalent of chkconfig
Oliver Grawert
ogra at ubuntu.com
Mon Aug 17 14:21:31 UTC 2015
Am Montag, den 17.08.2015, 14:56 +0100 schrieb João M. S. Silva:
> The specific problem here is that modemmanager depends on network-manager:
>
> $ cat /etc/init/modemmanager.conf
> (...)
> start on starting network-manager
> stop on stopped network-manager
> (...)
>
> But I don't need network-manager and all of its dependencies on this server.
>
well, not sure it is possible to install the modemmanager deb without
having network-manager installed ...
wrt your upstart config you would simply put the new start on/stop on
lines you want it to use in your .override file, i.e.:
start on startup
stop on runlevel [!2345]
or some such ... you never edit .conf files directly, an update of teh
package would either just revert your changes or cause a debconf prompt
to review the diff.
ciao
oli
More information about the Ubuntu-devel-discuss
mailing list