summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-systemd
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-07-07 13:43:42 +0200
committerNiels Thykier <niels@thykier.net>2016-07-09 08:15:52 +0000
commit27d80816bae4756497fc673652d3636799f08c2f (patch)
tree3d6220a20b58d74e8864216eb8755cbce7f41083 /autoscripts/prerm-systemd
parentee9f5d721fbfae3cee9d40c9858310393c10ab49 (diff)
downloaddebhelper-27d80816bae4756497fc673652d3636799f08c2f.tar.gz
Merge dh-systemd into debhelper proper
Diffstat (limited to 'autoscripts/prerm-systemd')
-rw-r--r--autoscripts/prerm-systemd3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/prerm-systemd b/autoscripts/prerm-systemd
new file mode 100644
index 00000000..6cc72423
--- /dev/null
+++ b/autoscripts/prerm-systemd
@@ -0,0 +1,3 @@
+if [ -d /run/systemd/system ]; then
+ deb-systemd-invoke stop #UNITFILES# >/dev/null
+fi