From: Zbigniew Jędrzejewski-Szmek Date: Tue, 16 Oct 2018 13:09:11 +0000 (+0200) Subject: units: use SuccessAction=exit-force in systemd-exit.service X-Git-Tag: v240~530^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=631c9b7bf2dab5065d753a7b1cfaff5b100b3c90;p=platform%2Fupstream%2Fsystemd.git units: use SuccessAction=exit-force in systemd-exit.service Fixes #10414. v2: - rename .service.in to .service - rename 'exit' to 'exit-force' --- diff --git a/units/user/meson.build b/units/user/meson.build index b1c2e95..36341a4 100644 --- a/units/user/meson.build +++ b/units/user/meson.build @@ -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', ] diff --git a/units/user/systemd-exit.service.in b/units/user/systemd-exit.service similarity index 87% rename from units/user/systemd-exit.service.in rename to units/user/systemd-exit.service index d69273f..1d3b61e 100644 --- a/units/user/systemd-exit.service.in +++ b/units/user/systemd-exit.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