about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-11-15T12·32+0100
committerclbot <clbot@tvl.fyi>2024-11-15T14·53+0000
commit58f795d7c3f110cd286bc335e92406571717914c (patch)
treecb08c92b9529673b96e67288bf23fbb74ba626af /ops
parent8ede491f5efbf321edf931e7c5c96be416110fa4 (diff)
fix(ops/modules/irccat): only start after network is online r/8926
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 <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops')
-rw-r--r--ops/modules/irccat.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/modules/irccat.nix b/ops/modules/irccat.nix
index 2263118d9974..9f99e8852fef 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}";