summaryrefslogtreecommitdiffstats
path: root/debian/systemd-container.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/systemd-container.postrm')
-rw-r--r--debian/systemd-container.postrm12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/systemd-container.postrm b/debian/systemd-container.postrm
new file mode 100644
index 0000000..2140680
--- /dev/null
+++ b/debian/systemd-container.postrm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ purge)
+ # clean up after manually enabled units in postinst
+ rm -f /etc/systemd/system/multi-user.target.wants/machines.target
+ ;;
+esac
+
+#DEBHELPER#