miniupnpd: add LSB header to init.d script

LSB headers allows debian to use dependancy-based boot, and
makes systemd's sysvinit compatibility mode faster.
This commit is contained in:
Shawn Landen 2012-03-13 19:45:45 -07:00
parent b8cd7af65e
commit 27b5ae6c9b
1 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,15 @@
# author: Thomas Bernard
# website: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
### BEGIN INIT INFO
# Provides: miniupnpd
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: MiniUPnPd port-forwarding daemon
### END INIT INFO
set -e
MINIUPNPD=/usr/sbin/miniupnpd