1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-17 19:14:49 +00:00
ympd/debian/postrm
jcorporation 82029ce39d Fix: dont't remove user/group on uninstall
Fix: moved pics directory to /var/lib/mympd
2018-09-20 21:13:04 +01:00

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