summaryrefslogtreecommitdiffstats
path: root/units/systemd-halt.service
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-06-22 11:33:18 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-06-22 11:33:18 +0200
commit9a0eade760874861ded1cc7240277774b07b9b5c (patch)
tree0bd757f10760570c6aa51a8ae2cd98c0b1535241 /units/systemd-halt.service
parentcore: Add halt and kexec emergency actions (diff)
downloadsystemd-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.service5
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