mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +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',
|
||||
'sound.target',
|
||||
'timers.target',
|
||||
'systemd-exit.service',
|
||||
'systemd-tmpfiles-clean.timer',
|
||||
]
|
||||
|
||||
@ -23,7 +24,6 @@ foreach file : units
|
||||
endforeach
|
||||
|
||||
in_units = [
|
||||
'systemd-exit.service',
|
||||
'systemd-tmpfiles-clean.service',
|
||||
'systemd-tmpfiles-setup.service',
|
||||
]
|
||||
|
@ -13,7 +13,4 @@ Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
Requires=shutdown.target
|
||||
After=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@SYSTEMCTL@ --user --force exit
|
||||
SuccessAction=exit-force
|
Loading…
Reference in New Issue
Block a user