X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Farch%2Fpoweroff.service;h=df2812fd9b6119f5a5579eb7c2b63fdb2457425c;hb=5bfcc1c6ef48af20996412dbaac1daa0492a4d41;hp=d6e42e1a4b7b4d2e5d98b5e7c5e4570e308d6432;hpb=af65a09126e216d468592f069aee50dfe0382d3a;p=elogind.git diff --git a/units/arch/poweroff.service b/units/arch/poweroff.service index d6e42e1a4..df2812fd9 100644 --- a/units/arch/poweroff.service +++ b/units/arch/poweroff.service @@ -8,12 +8,12 @@ [Unit] Description=Power-Off 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=RUNLEVEL=0 ExecStart=/etc/rc.shutdown +StandardOutput=tty