aboutsummaryrefslogtreecommitdiffstats
path: root/debian/bitlbee.init
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-03-29 21:11:41 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-03-29 21:11:41 +0000
commit89681335303b1118eda246c901f3c99470de19fc (patch)
tree0438e49b5c39fbdc7572ef9636b0a76cd7c804ca /debian/bitlbee.init
parent5e81e60307d9a1bdf18feab512c0056d9dea6352 (diff)
parente74c7fe11099e45da9a17b4d791162d57d2768f8 (diff)
Merge from Debian package tree.
Diffstat (limited to 'debian/bitlbee.init')
-rwxr-xr-xdebian/bitlbee.init11
1 files changed, 9 insertions, 2 deletions
diff --git a/debian/bitlbee.init b/debian/bitlbee.init
index 51b807f5..904ae5ea 100755
--- a/debian/bitlbee.init
+++ b/debian/bitlbee.init
@@ -1,4 +1,11 @@
#! /bin/sh
+### BEGIN INIT INFO
+# Provides: bitlbee
+# Required-Start: $remote_fs $syslog
+# Required-Stop: $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 1
+### END INIT INFO
#
# Init script for BitlBee Debian package. Based on skeleton init script:
#
@@ -17,7 +24,7 @@ SCRIPTNAME=/etc/init.d/$NAME
# Default value
BITLBEE_PORT=6667
-DAEMON_OPT=-F
+BITLBEE_OPTS=-F
# Read config file if it is present.
if [ -r /etc/default/$NAME ]; then
@@ -37,7 +44,7 @@ d_start() {
start-stop-daemon --start --quiet --pidfile $PIDFILE \
-c bitlbee: \
- --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $DAEMON_OPT
+ --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS
}
#