chiark / gitweb /
inotify: properly handle multiple inotify events per read()
[elogind.git] / units / arch / reboot.service
index 4aa7dc2e813af226c995b1420735d6463b012184..ae5c979e3e7a65fbc05ca149690ec3a26ad2e89d 100644 (file)
@@ -7,12 +7,13 @@
 
 [Unit]
 Description=Reboot
-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
+DefaultDependencies=no
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
 Environment=RUNLEVEL=6
 ExecStart=/etc/rc.shutdown
+StandardOutput=tty