X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsuse%2Freboot.service;h=001d1364a0f205c84c9ed30e193b9b6e6bd341f7;hb=f0a73e245c1646c6c62a3bd0a3db969dd2e55edc;hp=1ccacebac35a2b08276e93931ecc33aea8ba5523;hpb=455bb5a4bdd03d77af72d810ddc22c85a353d2e4;p=elogind.git diff --git a/units/suse/reboot.service b/units/suse/reboot.service index 1ccacebac..001d1364a 100644 --- a/units/suse/reboot.service +++ b/units/suse/reboot.service @@ -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 -ExecStart=/etc/init.d/reboot start -StandardInput=tty +Type=oneshot +RemainAfterExit=yes +Environment=COLD_BOOT=1 +ExecStart=/etc/init.d/reboot +StandardOutput=tty