Debian Squeeze: insserv

Squeeze introduced the new dependency based boot sequence. Now, the insserv command is used instead of the well known update-rc.d, if dependency-based booting is enabled.

insserv mydaemon

To make the new system work all startup scripts have to follow the guidelines. The /etc/init.d/apache2 header e.g. looks like this:

#!/bin/sh
### BEGIN INIT INFO
# Provides:          apache2
# Required-Start:    $local_fs $remote_fs $network $syslog $named
# Required-Stop:     $local_fs $remote_fs $network $syslog $named
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Interactive:     true
# Short-Description: Start/stop apache2 web server
### END INIT INFO

[...]
debian/insserv.txt · Last modified: 2011/06/01 15:13 by tb
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0