1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: remove disable from init script to comply with Debian Policy
section ยง9.3.3.1. Daemon enable/disable is now via command
'update-rc.d mumble-server [enable|disable]' instead.
Author: Christopher Knadle <Chris.Knadle@coredump.us>
Last-Updated: 2018-06-06
--- a/scripts/murmur.init
+++ b/scripts/murmur.init
@@ -25,7 +25,6 @@
INIFILE=/etc/mumble-server.ini
DAEMON_OPTS="-ini $INIFILE"
-MURMUR_DAEMON_START=0
MURMUR_USE_CAPABILITIES=0
MURMUR_LIMIT_NOFILE=0
@@ -43,10 +42,6 @@
case "$1" in
start)
- if [ "$MURMUR_DAEMON_START" != "1" ] ; then
- log_warning_msg "Not starting $DESC $NAME, disabled via /etc/default/$NAME"
- exit 0
- fi
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
[ -d $PIDDIR ] || install -o $USER -d $PIDDIR
if [ "$MURMUR_USE_CAPABILITIES" != "1" ] ; then
|