aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/bitlbee.init11
-rw-r--r--debian/changelog9
2 files changed, 18 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
}
#
diff --git a/debian/changelog b/debian/changelog
index 1d266c0c..b964ee0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+bitlbee (1.2-4) unstable; urgency=low
+
+ * Not a real release, just a placeholder for the changelog.
+ * Fixed init script to use the BITLBEE_OPTS variable, not an undefined
+ DAEMON_OPT.
+ * Added dependency information to the init script. (Closes: #472567)
+
+ -- Wilmer van der Gaast <wilmer@gaast.net> Sat, 29 Mar 2008 21:10:33 +0000
+
bitlbee (1.2-3) unstable; urgency=low
* Removed DEB_BUILD_OPTIONS again (forgot to apply that change to the 1.2