chiark / gitweb /
units: get rid of special setup services for /var/run, /var/lock and /tmp, and rely...
[elogind.git] / units / suse / reboot.service
index c3526b3035c3070f730e9ca531f6c76b94ae6737..001d1364a0f205c84c9ed30e193b9b6e6bd341f7 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=COLD_BOOT=1
 ExecStart=/etc/init.d/reboot
-StandardInput=tty
+StandardOutput=tty