diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-06-22 11:33:18 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-06-22 11:33:18 +0200 |
commit | 9a0eade760874861ded1cc7240277774b07b9b5c (patch) | |
tree | 0bd757f10760570c6aa51a8ae2cd98c0b1535241 /units/systemd-halt.service | |
parent | core: Add halt and kexec emergency actions (diff) | |
download | systemd-9a0eade760874861ded1cc7240277774b07b9b5c.tar.xz systemd-9a0eade760874861ded1cc7240277774b07b9b5c.zip |
units: Use built-in halt and kexec features instead of systemctl
Diffstat (limited to 'units/systemd-halt.service')
-rw-r--r-- | units/systemd-halt.service | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/units/systemd-halt.service b/units/systemd-halt.service index 3ce976f539..e3a35cc30d 100644 --- a/units/systemd-halt.service +++ b/units/systemd-halt.service @@ -13,7 +13,4 @@ Documentation=man:systemd-halt.service(8) DefaultDependencies=no Requires=shutdown.target umount.target final.target After=shutdown.target umount.target final.target - -[Service] -Type=oneshot -ExecStart=systemctl --force halt +SuccessAction=halt-force |