chiark / gitweb /
inotify: properly handle multiple inotify events per read()
[elogind.git] / units / arch / reboot.service
index b2c18842fff11dcd89f7aaf32713c7b354266364..ae5c979e3e7a65fbc05ca149690ec3a26ad2e89d 100644 (file)
@@ -8,12 +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
+StandardOutput=tty