Skip to content

Commit 9c4feff

Browse files
stackptrclaude
andauthored
fix(glyph): improve filebrowser-quantum startup reliability (#488)
Wait for network-online.target so the OIDC issuer at id.zx.dev (hosted on spore) is reachable before starting. Add Restart=on-failure with a 30s delay so transient OIDC unavailability at boot self-recovers without manual intervention. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8442f93 commit 9c4feff

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎modules/nixos/filebrowser-quantum.nix‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,14 @@ in {
133133
config = lib.mkIf cfg.enable {
134134
systemd = {
135135
services.filebrowser-quantum = {
136-
after = ["network.target"];
136+
after = ["network-online.target"];
137+
wants = ["network-online.target"];
137138
description = "FileBrowser Quantum";
138139
wantedBy = ["multi-user.target"];
139140
serviceConfig =
140141
{
142+
Restart = "on-failure";
143+
RestartSec = "30s";
141144
ExecStart = let
142145
args = [
143146
(lib.getExe cfg.package)

0 commit comments

Comments
 (0)