chiark / gitweb /
inotify: properly handle multiple inotify events per read()
[elogind.git] / units / arch / reboot.service
index 934903dc6b5b3c4df44efe28f30e6c5311fc2766..ae5c979e3e7a65fbc05ca149690ec3a26ad2e89d 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Reboot
 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=6
 ExecStart=/etc/rc.shutdown
-StandardInput=tty
+StandardOutput=tty