chiark / gitweb /
umount: try to get rid of DM devices
[elogind.git] / units / arch / poweroff.service
index d6e42e1a4b7b4d2e5d98b5e7c5e4570e308d6432..df2812fd9b6119f5a5579eb7c2b63fdb2457425c 100644 (file)
@@ -8,12 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Requires=shutdown.target
-After=shutdown.target
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
+StandardOutput=tty