summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-systemd
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-06-19 08:15:58 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-06-19 08:16:18 +0200
commit993739802c84e59334ea15fc564cfc143ffbdc97 (patch)
tree841387898549eb6c8a489b5086fc9d63a5bf7c02 /autoscripts/prerm-systemd
parentbd4ea14f372d8140ee7ab79d1d7ced9f1a89f8dc (diff)
downloadinit-system-helpers-993739802c84e59334ea15fc564cfc143ffbdc97.tar.gz
add deb-systemd-invoke, a wrapper which respects (basic) policy.d
Diffstat (limited to 'autoscripts/prerm-systemd')
-rw-r--r--autoscripts/prerm-systemd2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/prerm-systemd b/autoscripts/prerm-systemd
index aa36110..6cc7242 100644
--- a/autoscripts/prerm-systemd
+++ b/autoscripts/prerm-systemd
@@ -1,3 +1,3 @@
if [ -d /run/systemd/system ]; then
- systemctl stop #UNITFILES# >/dev/null
+ deb-systemd-invoke stop #UNITFILES# >/dev/null
fi