]> Untitled Git - ympd.git/commitdiff
fix webport using the wrong variable in init scripts
authorJason Pleau <jason@jpleau.ca>
Sat, 2 May 2015 00:54:10 +0000 (20:54 -0400)
committerJason Pleau <jason@jpleau.ca>
Sat, 2 May 2015 00:57:58 +0000 (20:57 -0400)
contrib/init.debian
contrib/ympd.service

index 5fac5530dd45e15ddb36fcb2468fc1b5c4e9d2d8..5c10bdf606fb02b24cf480d6d97ae169fdda15bc 100755 (executable)
@@ -35,7 +35,7 @@ WEB_PORT=8080
 # Load the VERBOSE setting and other rcS variables
 [ -f /etc/default/rcS ] && . /etc/default/rcS
 
-DAEMON_OPT="--user $YMPD_USER --webport $MPD_WEBHOST --host $MPD_HOST --port $MPD_PORT"
+DAEMON_OPT="--user $YMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT"
 
 do_start()
 {
index b39f0c9c2dfba9d9bc1da82c56d534a18cc45a55..2289550f86e1448b578880805e250622f699d4b5 100644 (file)
@@ -8,7 +8,7 @@ Environment=MPD_PORT=6600
 Environment=WEB_PORT=8080
 Environment=YMPD_USER=nobody
 EnvironmentFile=/etc/default/ympd
-ExecStart=/usr/bin/ympd --user $YMPD_USER --webport $MPD_WEBHOST --host $MPD_HOST --port $MPD_PORT
+ExecStart=/usr/bin/ympd --user $YMPD_USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT
 Type=simple
 
 [Install]