Ahenk/debian/ahenk.postrm.debhelper

13 lines
340 B
Text
Raw Normal View History

2020-04-06 18:10:41 +03:00
# Automatically added by dh_installinit
2021-09-08 15:17:24 +03:00
if [ "$1" = "purge" ] ; then
2020-04-06 18:10:41 +03:00
update-rc.d ahenk remove >/dev/null
fi
# In case this system is running systemd, we make systemd reload the unit files
# to pick up changes.
2021-09-08 15:17:24 +03:00
if [ -d /run/systemd/system ] ; then
2020-04-06 18:10:41 +03:00
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section