summaryrefslogtreecommitdiff
path: root/network/murmur/rc.murmur
diff options
context:
space:
mode:
Diffstat (limited to 'network/murmur/rc.murmur')
-rw-r--r--network/murmur/rc.murmur5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/murmur/rc.murmur b/network/murmur/rc.murmur
index 90d3c99a40..e14567938b 100644
--- a/network/murmur/rc.murmur
+++ b/network/murmur/rc.murmur
@@ -1,9 +1,12 @@
#!/bin/bash
-PIDFILE=""
+PIDFILE=/var/run/murmur/murmur.pid
murmur_start() {
echo -n "Starting Murmur Server: "
+ mkdir -p $(dirname $PIDFILE)
+ chown @USER@:@GROUP@ $(dirname $PIDFILE)
+
if [ ! -f $PIDFILE ]; then
/usr/bin/murmurd -ini /etc/murmur.ini & > /dev/null 2>&1
echo "OK"