Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

 

...

Table

...

of

...

Contents

...

Table of Contents

Information

LSB is new to the Latest versions of Debian. It is used by the new application used to control init scripts, insserv. Headers must be included to allow insserv to parse dependancies and startup options. for a more in depth list of configurations, read http://wiki.debian.org/LSBInitScripts 

Configuration

To configure your init script to work with insserv, use the following code at the beginning of the script.

Code Block
themeEmacs
languagebash
|http://wiki.debian.org/LSBInitScripts]

h1. Configuration

To configure your init script to work with insserv, use the following code at the beginning of the script.
{code}### BEGIN INIT INFO
# Provides:          scriptname
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start daemon at boot time
# Description:       Enable service provided by daemon.
### END INIT INFO{code}


{rate}