mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
units: Use built-in halt and kexec features instead of systemctl
This commit is contained in:
1 parent
3cf848f6cd
commit
9a0eade760
2 files changed
+2
-8
No files matched your search
@@ -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
|
||||
@@ -13,7 +13,4 @@ Documentation=man:systemd-kexec.service(8)
|
||||
DefaultDependencies=no
|
||||
Requires=shutdown.target umount.target final.target
|
||||
After=shutdown.target umount.target final.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=systemctl --force kexec
|
||||
SuccessAction=kexec-force
|
||||
Reference in new issue
Block a user