[gnome-initial-setup/wip/wjt/respawn-after-crash] 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] Ask systemd to be respawned on failure
- Date: Wed, 9 Mar 2022 14:00:05 +0000 (UTC)
commit 060a1acc7eaf60cdcc0d4716d2033ff78e92babd
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. The user will
be dumped back at the first page, which is not ideal, but is still an
improvement. In addition, certain settings (like locale, keyboard
layout, Wi-Fi network, and configured online accounts) are applied at
the point they are chosen, so will be preserved across a crash and
relaunch.
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]