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:
parent
b8cd7af65e
commit
27b5ae6c9b
|
@ -4,6 +4,15 @@
|
||||||
# author: Thomas Bernard
|
# author: Thomas Bernard
|
||||||
# website: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
# 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
|
set -e
|
||||||
|
|
||||||
MINIUPNPD=/usr/sbin/miniupnpd
|
MINIUPNPD=/usr/sbin/miniupnpd
|
||||||
|
|
Loading…
Reference in New Issue