From: Arne Fitzenreiter Date: Sun, 25 Feb 2024 17:14:56 +0000 (+0100) Subject: mympd/mpfire: restart mpd after instalation X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fipfire-2.x.git;a=commitdiff_plain;h=a809f932464a603af0bda13dfb558573ba58a483 mympd/mpfire: restart mpd after instalation both addons need a restart of mpd after they are installed Signed-off-by: Arne Fitzenreiter --- diff --git a/src/paks/mpd/install.sh b/src/paks/mpd/install.sh index 05b0592c6..5dd0aacb9 100644 --- a/src/paks/mpd/install.sh +++ b/src/paks/mpd/install.sh @@ -29,4 +29,4 @@ ln -svf /etc/init.d/mpd /etc/rc.d/rc6.d/K35mpd ln -svf /var/ipfire/mpd/mpd.conf /etc/mpd.conf touch /var/log/mpd.log restore_backup ${NAME} -/etc/init.d/mpd start +/etc/init.d/mpd restart diff --git a/src/paks/mympd/install.sh b/src/paks/mympd/install.sh index 529f415e6..9c154b5b4 100644 --- a/src/paks/mympd/install.sh +++ b/src/paks/mympd/install.sh @@ -29,5 +29,6 @@ ln -svf /etc/init.d/mympd /etc/rc.d/rc6.d/K34mympd restore_backup ${NAME} # create/check config /usr/bin/mympd -u nobody -c -# start service +# start services +/etc/init.d/mpd restart /etc/init.d/mympd start