Missing LSB tags and overrides

From ElectroDragon
Jump to navigation Jump to search

If you wish to just add your own tags, edit the mentioned boot scripts, and add them.

For example, /etc/init.d/dovecot would have something like this near the top, somewhere after the #!/bin/sh line:

### BEGIN INIT INFO
# Provides:          dovecot
# Required-Start:    $local_fs $network
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: dovecot
# Description:       dovecot pop & imap daemon
### END INIT INFO

where the only important part is the Provides bit... just set it to the name of the service.


The descriptions can be any basic text.