summaryrefslogtreecommitdiffstats
path: root/roles/stream/templates/icecast-emacsconf.init.d
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xroles/stream/templates/icecast-emacsconf.init.d8
1 files changed, 2 insertions, 6 deletions
diff --git a/roles/stream/templates/icecast-emacsconf.init.d b/roles/stream/templates/icecast-emacsconf.init.d
index b3ad491..3d880c1 100755
--- a/roles/stream/templates/icecast-emacsconf.init.d
+++ b/roles/stream/templates/icecast-emacsconf.init.d
@@ -30,14 +30,10 @@ test -x $DAEMON || exit 0
# Defaults
CONFIGFILE="/etc/icecast2/icecast-emacsconf.xml"
-CONFIGDEFAULTFILE="/etc/default/icecast2"
-USERID=icecast2
-GROUPID=icecast
+USERID={{ icecast_user }}
+GROUPID={{ icecast_group }}
PIDFILE=/var/run/icecast-emacsconf
-# Reads config file (will override defaults above)
-[ -r "$CONFIGDEFAULTFILE" ] && . $CONFIGDEFAULTFILE
-
set -e
case "$1" in