mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-28 03:40:26 +00:00
82029ce39d
Fix: moved pics directory to /var/lib/mympd
14 lines
383 B
Plaintext
Executable File
14 lines
383 B
Plaintext
Executable File
if [ -f /usr/lib/systemd/system/mympd.service ]
|
|
then
|
|
if `systemctl is-active --quiet mympd`
|
|
then
|
|
echo "stopping mympd.service" && systemctl stop mympd
|
|
fi
|
|
echo "disabling mympd.service" && systemctl disable mympd
|
|
rm -v -f /usr/lib/systemd/system/mympd.service
|
|
systemctl daemon-reload
|
|
fi
|
|
|
|
rm -v -f /usr/share/mympd/htdocs/pics
|
|
rm -v -f /usr/share/mympd/htdocs/library
|