aboutsummaryrefslogtreecommitdiffstats
path: root/debian/bitlbee.init
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2009-06-07 21:19:25 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2009-06-07 21:19:25 +0100
commit25dfb16035f12ba15ad5fcfb6d428386ac4c38ce (patch)
tree02b6472d33af972827538d0754f3f74d57aa3114 /debian/bitlbee.init
parent59169956e1f7a5dd86e3c1aab41bc6a252f7b653 (diff)
Forgot to commit before starting to work on the second item, so here's a
monster commit. :-) * Removing code that edits bitlbee.conf from postinst (and chown code in the init script), it's not really necessary anymore; bitlbee may only still run as root if the admin doesn't read conffile diffs. (Closes: #514572) * No longer overwriting port number info in /etc/default/bitlbee with what's in debconf. (Closes: #514148) * Added notes about the above two changes to bitlbee.conf.
Diffstat (limited to 'debian/bitlbee.init')
-rwxr-xr-xdebian/bitlbee.init8
1 files changed, 0 insertions, 8 deletions
diff --git a/debian/bitlbee.init b/debian/bitlbee.init
index a22c53a7..4c224ffc 100755
--- a/debian/bitlbee.init
+++ b/debian/bitlbee.init
@@ -40,14 +40,6 @@ d_start() {
touch /var/run/bitlbee.pid
chown bitlbee: /var/run/bitlbee.pid
- # Clean up after the bug between 1.2-5 and 1.2.1-2 where BitlBee ran
- # as root. (#494656 and #495877) Fixing this in the postinst script
- # is not enough since the user will restart his BitlBee after up-
- # grading the package, and the BitlBee running as root will then
- # save its settings, re-setting ownership of the file to root.
- # TODO: Remove this after a few revisions.
- find /var/lib/bitlbee -uid 0 -name '*.xml' -exec chown bitlbee: {} \;
-
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS
}