1
1
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:
Zbigniew Jędrzejewski-Szmek 2018-10-16 15:09:11 +02:00
parent 1710d4beff
commit 631c9b7bf2
2 changed files with 2 additions and 5 deletions

View File

@ -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',
]

View File

@ -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