diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2008-02-17 16:20:40 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2008-02-17 16:20:40 +0300 |
commit | 6ac1563c9c2b57871d95f6f2ccf755c8216e216b (patch) | |
tree | a989db63d6cae00e1e2627892bc3b423bd0f7c8d /scripts/murmur.init | |
parent | 3a2e0c3a2cc27a089f9139ce764eef7fe791f570 (diff) |
Minor updates to ubuntu packaging
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@938 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'scripts/murmur.init')
-rwxr-xr-x | scripts/murmur.init | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/murmur.init b/scripts/murmur.init index 5820bad8e..b52d217ee 100755 --- a/scripts/murmur.init +++ b/scripts/murmur.init @@ -12,10 +12,10 @@ ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin -NAME=murmur +NAME=mumble-server DESC="Mumble VoIP Server" -PIDDIR=/var/run/mumble-server -PIDFILE=$PIDDIR/mumble-server.pid +PIDDIR=/var/run/$NAME +PIDFILE=$PIDDIR/$NAME.pid DAEMON=/usr/sbin/murmurd USER=mumble-server GROUP=mumble-server @@ -27,8 +27,8 @@ DAEMON_OPTS="-ini $INIFILE" MURMUR_DAEMON_START=0 # Include murmur defaults if available -if [ -f /etc/default/mumble-server ] ; then - . /etc/default/mumble-server +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME fi . /lib/init/vars.sh |