X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Farch%2Fpoweroff.service;h=bd563ba586bd2681101bcb9ed0a2f04c1dc84487;hb=34e9ba669e75fb3b8f481076e75df5c2abb8192b;hp=ffa592c8f67c7196a5f472fe09d13a9069b97b29;hpb=983d9c90151f4b85301bd8078afd560269e75961;p=elogind.git diff --git a/units/arch/poweroff.service b/units/arch/poweroff.service index ffa592c8f..bd563ba58 100644 --- a/units/arch/poweroff.service +++ b/units/arch/poweroff.service @@ -8,13 +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 +Type=oneshot ValidNoProcess=yes Environment=RUNLEVEL=0 ExecStart=/etc/rc.shutdown -StandardInput=tty +StandardOutput=tty