macbook: always restart ghostty daemon after window close
Ghostty exits cleanly when the last window closes, so on-failure never triggers a restart. Switch to Restart=always with a 1s delay so the headless instance respawns and stays warm. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
38bd660ddb
commit
b32bb900c0
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@
|
|||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.ghostty}/bin/ghostty --initial-window=false";
|
||||
Restart = "on-failure";
|
||||
Restart = "always";
|
||||
RestartSec = 1;
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue