X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsuse%2Fpoweroff.service;h=fe8c67761e61c7b18de61d38ba0a75d8a3673c1b;hb=85ed27f699939f75b8422ae67e016bdf9f439da9;hp=a68c10cfd3794b14954a4110f5766b1904829e49;hpb=9a9a438596e6f57cda87fc7045971197fd2b3078;p=elogind.git diff --git a/units/suse/poweroff.service b/units/suse/poweroff.service index a68c10cfd..fe8c67761 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 -ValidNoProcess=yes -ExecStart=/etc/init.d/halt start +Type=oneshot +RemainAfterExit=yes +Environment=COLD_BOOT=1 +ExecStart=/etc/init.d/halt +StandardOutput=tty