[gnome-initial-setup/wip/wjt/respawn-after-crash: 2/2] Ask systemd to be respawned on failure
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/wip/wjt/respawn-after-crash: 2/2] Ask systemd to be respawned on failure
- Date: Wed, 9 Mar 2022 13:57:11 +0000 (UTC)
commit a4ccd6b4e0a40ab9db533c9af11a85d63bade358
Author: Will Thompson <wjt endlessos org>
Date: Wed Mar 9 13:51:25 2022 +0000
Ask systemd to be respawned on failure
Currently, if Initial Setup crashes, you are left staring at a blank
wallpaper, with no option but to shut down the computer.
If the session is managed by systemd, we can ask it to respawn
gnome-initial-setup.service (this application) on failure.
Fixes #26
data/gnome-initial-setup.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/gnome-initial-setup.service.in b/data/gnome-initial-setup.service.in
index bb0af2e8..e8966d94 100644
--- a/data/gnome-initial-setup.service.in
+++ b/data/gnome-initial-setup.service.in
@@ -10,4 +10,4 @@ After=gnome-session.target
Type=simple
ExecStart=@libexecdir@/gnome-initial-setup
ExecStopPost=-@libexecdir@/gnome-session-ctl --shutdown
-Restart=no
+Restart=on-failure
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]