X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsuse%2Fpoweroff.service;h=13b13b04279f88602acc893ff7cdeab6609da672;hb=34e9ba669e75fb3b8f481076e75df5c2abb8192b;hp=a68c10cfd3794b14954a4110f5766b1904829e49;hpb=9a9a438596e6f57cda87fc7045971197fd2b3078;p=elogind.git diff --git a/units/suse/poweroff.service b/units/suse/poweroff.service index a68c10cfd..13b13b042 100644 --- a/units/suse/poweroff.service +++ b/units/suse/poweroff.service @@ -7,11 +7,13 @@ [Unit] Description=Power-Off -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 +Type=oneshot ValidNoProcess=yes -ExecStart=/etc/init.d/halt start +Environment=COLD_BOOT=1 +ExecStart=/etc/init.d/halt +StandardOutput=tty