From 58f795d7c3f110cd286bc335e92406571717914c Mon Sep 17 00:00:00 2001 From: sterni Date: Fri, 15 Nov 2024 13:32:48 +0100 Subject: [PATCH] fix(ops/modules/irccat): only start after network is online I've discovered that it is possible for irccat to fail enough times to run into the restart limit before network is online after booting. Change-Id: Ia54a46d56bdc765a825fee50e7bdc8206718edc0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12790 Tested-by: BuildkiteCI Reviewed-by: tazjin Autosubmit: sterni --- ops/modules/irccat.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/modules/irccat.nix b/ops/modules/irccat.nix index 2263118d9..9f99e8852 100644 --- a/ops/modules/irccat.nix +++ b/ops/modules/irccat.nix @@ -48,6 +48,8 @@ in systemd.services.irccat = { inherit description; wantedBy = [ "multi-user.target" ]; + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; serviceConfig = { ExecStart = "${mergeAndLaunch}";