X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Fpoweroff.service;h=dbbed75d6d9caec12f2746a9525656e1bbad2b81;hb=40b3203173ad78fdb5ceb257b08a93a587102518;hp=913edc489fefce6b413a571db7b2c130800522cb;hpb=b827a9f97dcc88f4b9e23d656d7325455eb33848;p=elogind.git diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service index 913edc489..dbbed75d6 100644 --- a/units/fedora/poweroff.service +++ b/units/fedora/poweroff.service @@ -8,13 +8,12 @@ [Unit] Description=Power-Off DefaultDependencies=no -Wants=shutdown.target killall.service -After=shutdown.target killall.service -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 killall.service +After=shutdown.target umount.target killall.service [Service] -Type=finish -ValidNoProcess=yes +Type=oneshot +RemainAfterExit=yes Environment=RUNLEVEL=0 ExecStart=/etc/init.d/halt start -StandardInput=tty +StandardOutput=tty