mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03:00
units: use SuccessAction=exit-force in systemd-exit.service
Fixes #10414. v2: - rename .service.in to .service - rename 'exit' to 'exit-force'
This commit is contained in:
parent
1710d4beff
commit
631c9b7bf2
@ -14,6 +14,7 @@ units = [
|
|||||||
'sockets.target',
|
'sockets.target',
|
||||||
'sound.target',
|
'sound.target',
|
||||||
'timers.target',
|
'timers.target',
|
||||||
|
'systemd-exit.service',
|
||||||
'systemd-tmpfiles-clean.timer',
|
'systemd-tmpfiles-clean.timer',
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -23,7 +24,6 @@ foreach file : units
|
|||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
in_units = [
|
in_units = [
|
||||||
'systemd-exit.service',
|
|
||||||
'systemd-tmpfiles-clean.service',
|
'systemd-tmpfiles-clean.service',
|
||||||
'systemd-tmpfiles-setup.service',
|
'systemd-tmpfiles-setup.service',
|
||||||
]
|
]
|
||||||
|
@ -13,7 +13,4 @@ Documentation=man:systemd.special(7)
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=shutdown.target
|
Requires=shutdown.target
|
||||||
After=shutdown.target
|
After=shutdown.target
|
||||||
|
SuccessAction=exit-force
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=@SYSTEMCTL@ --user --force exit
|
|
Loading…
Reference in New Issue
Block a user