chiark / gitweb /
units: X 1.8 doesn't need HAL anymore, so avoid synchronization on that
[elogind.git] / units / suse / poweroff.service
index f3d1542842579e9c2d686a951519c0c57eecce6a..13b13b04279f88602acc893ff7cdeab6609da672 100644 (file)
@@ -7,11 +7,13 @@
 
 [Unit]
 Description=Power-Off
-Requires=shutdown.target
-After=shutdown.target
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
+DefaultDependencies=no
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
-Type=finish
+Type=oneshot
 ValidNoProcess=yes
-ExecStart=/etc/init.d/halt start
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/halt
+StandardOutput=tty