logo logo

missing LSB tags and overrides

On debian and debian-based systems, init scripts needs LSB Tags and overrides.

To fix the problem, Insert the following lines immediately after the #!/bin/bash inside the concerned init scripts.


### BEGIN INIT INFO
# Provides: initscript_name
# Required-Start:
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop service_name
# Description: initscript_name
### END INIT INFO

Hire Me!
bottom

Leave a Reply

Your email address will not be published. Required fields are marked *


− 8 = one

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

bottom
Download mp3