diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-03-29 21:01:09 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-03-29 21:01:09 +0000 |
commit | 0281c4598b396e837342c6fa6465bc709fc068a3 (patch) | |
tree | b8d9e25fab2627f8aa55042de04b1d6c3b82c946 | |
parent | 483f8dd1042e89e02a0eb736f65885e9f74a344d (diff) |
s/DAEMON_OPT/BITLBEE_OPTS/ so the init script will actually pick up flags
from /etc/default/bitlbee.
-rwxr-xr-x | debian/bitlbee.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/bitlbee.init b/debian/bitlbee.init index 51b807f5..62b57b13 100755 --- a/debian/bitlbee.init +++ b/debian/bitlbee.init @@ -17,7 +17,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 +37,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 } # |