summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoscripts/postinst-systemd-enable-restart6
-rw-r--r--autoscripts/postinst-systemd-enable-start6
-rw-r--r--autoscripts/postrm-systemd-reload9
3 files changed, 0 insertions, 21 deletions
diff --git a/autoscripts/postinst-systemd-enable-restart b/autoscripts/postinst-systemd-enable-restart
deleted file mode 100644
index a63aa6b..0000000
--- a/autoscripts/postinst-systemd-enable-restart
+++ /dev/null
@@ -1,6 +0,0 @@
-deb-systemd-helper enable #UNITFILES# >/dev/null || true
-
-if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
- systemctl try-restart #UNITFILES# >/dev/null || true
-fi
diff --git a/autoscripts/postinst-systemd-enable-start b/autoscripts/postinst-systemd-enable-start
deleted file mode 100644
index 6cccdcf..0000000
--- a/autoscripts/postinst-systemd-enable-start
+++ /dev/null
@@ -1,6 +0,0 @@
-deb-systemd-helper enable #UNITFILES# >/dev/null || true
-
-if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
- systemctl start #UNITFILES# >/dev/null || true
-fi
diff --git a/autoscripts/postrm-systemd-reload b/autoscripts/postrm-systemd-reload
deleted file mode 100644
index d86be20..0000000
--- a/autoscripts/postrm-systemd-reload
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
- if [ -x "/usr/bin/deb-systemd-helper" ]; then
- deb-systemd-helper disable #UNITFILES# >/dev/null
- fi
-fi
-
-if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
-fi