]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
mympd/mpfire: restart mpd after instalation
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 25 Feb 2024 17:14:56 +0000 (18:14 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 25 Feb 2024 17:14:56 +0000 (18:14 +0100)
both addons need a restart of mpd after they are installed

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/paks/mpd/install.sh
src/paks/mympd/install.sh

index 05b0592c6a943e1b387ebce4436ba036d5dd79b2..5dd0aacb9f3ef884b61f5e9e6ab0e5ebd6f7ef60 100644 (file)
@@ -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
index 529f415e614ad07b6992b5de6f55eb19d53c6879..9c154b5b42d381fa8eee851dfb4a1ce949142a53 100644 (file)
@@ -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