chiark / gitweb /
umount: try to get rid of DM devices
[elogind.git] / units / arch / poweroff.service
index ffa592c8f67c7196a5f472fe09d13a9069b97b29..df2812fd9b6119f5a5579eb7c2b63fdb2457425c 100644 (file)
@@ -8,13 +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
-StandardInput=tty
+StandardOutput=tty