From c7f19755bd86b91153ca947604608760babcd8d4 Mon Sep 17 00:00:00 2001 From: Jason Pleau Date: Fri, 1 May 2015 20:54:10 -0400 Subject: [PATCH] fix webport using the wrong variable in init scripts --- contrib/init.debian | 2 +- contrib/ympd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/init.debian b/contrib/init.debian index 5fac553..5c10bdf 100755 --- a/contrib/init.debian +++ b/contrib/init.debian @@ -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() { diff --git a/contrib/ympd.service b/contrib/ympd.service index b39f0c9..2289550 100644 --- a/contrib/ympd.service +++ b/contrib/ympd.service @@ -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] -- 2.20.1