summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Clients/ogagent/linux/debian/ogagent.postrm.debhelper
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Sources/Clients/ogagent/linux/debian/ogagent.postrm.debhelper')
-rw-r--r--admin/Sources/Clients/ogagent/linux/debian/ogagent.postrm.debhelper12
1 files changed, 12 insertions, 0 deletions
diff --git a/admin/Sources/Clients/ogagent/linux/debian/ogagent.postrm.debhelper b/admin/Sources/Clients/ogagent/linux/debian/ogagent.postrm.debhelper
new file mode 100644
index 00000000..3167f1f8
--- /dev/null
+++ b/admin/Sources/Clients/ogagent/linux/debian/ogagent.postrm.debhelper
@@ -0,0 +1,12 @@
+# Automatically added by dh_installinit
+if [ "$1" = "purge" ] ; then
+ update-rc.d ogagent remove >/dev/null
+fi
+
+
+# In case this system is running systemd, we make systemd reload the unit files
+# to pick up changes.
+if [ -d /run/systemd/system ] ; then
+ systemctl --system daemon-reload >/dev/null || true
+fi
+# End automatically added section