2020-04-06 18:10:41 +03:00
|
|
|
# Automatically added by dh_installinit
|
2021-09-07 16:25:05 +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-07 16:25:05 +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
|