Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions modules/arr-slime.nix
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,17 @@
};
};

# prowlarr-indexers.service is a oneshot that configures indexers
# via the Prowlarr API. If Prowlarr isn't ready yet, the API call
# fails with exit code 1. Add restart behaviour so transient
# failures (e.g. Prowlarr starting up) retry automatically.
systemd.services."prowlarr-indexers" = {
serviceConfig = {
Restart = lib.mkOverride 90 "on-failure";
RestartSec = lib.mkOverride 90 "10s";
};
};

# Nixflix sets Restart=on-failure but doesn't set RestartSec or
# StartLimitBurst, so rapid restarts hit the systemd default rate
# limit (5 failures / 10s) and the unit is permanently stopped.
Expand Down
2 changes: 1 addition & 1 deletion modules/hosts/203-media.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# directly reachable on ens19 regardless of address-assignment timing.
networking.localCommands = ''
ip route flush table 203 2>/dev/null || true
ip route add default via 192.168.3.1 dev ens19 table 203 onlink
ip route add default via 192.168.3.1 onlink dev ens19 table 203
ip rule del from 192.168.3.203 lookup 203 2>/dev/null || true
ip rule add from 192.168.3.203 lookup 203
'';
Expand Down