chiark / gitweb /
util: SIGSTKFLT is unknown on Linux for SPARC
[elogind.git] / units / gentoo / halt.service
index 8762a7827b9554ded80666d18f71f9d2a980802f..d97b942fe069a4f87d1e05ac3671cc294e0c32e4 100644 (file)
@@ -7,13 +7,13 @@
 
 [Unit]
 Description=Halt
-Requires=shutdown.target killall.service
-After=shutdown.target killall.service
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
+DefaultDependencies=no
+Requires=shutdown.target umount.target killall.service
+After=shutdown.target umount.target killall.service
 
 [Service]
-Type=finish
-ValidNoProcess=yes
-Environment=INIT_HALT=HALT
-Environment=RC_DOWN_HARDDISK=yes
+Type=oneshot
+RemainAfterExit=yes
+Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
+StandardOutput=tty