From 84359a913681d9d23823509892af98c53a6a5e78 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 27 Jan 2024 22:57:59 +0000 Subject: [PATCH] totoro: want network-online.target --- ops/nixos/totoro/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/nixos/totoro/default.nix b/ops/nixos/totoro/default.nix index cb6275ec3f..6b51931054 100644 --- a/ops/nixos/totoro/default.nix +++ b/ops/nixos/totoro/default.nix @@ -518,6 +518,7 @@ in { systemd.services.sslrenew-raritan = { enable = true; after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; serviceConfig = { Type = "oneshot"; ExecStart = "${depot.ops.raritan.ssl-renew}/lego.sh"; @@ -544,6 +545,7 @@ in { systemd.services.streetworks = { enable = true; after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; serviceConfig = { ExecStart = "${depot.go.streetworks}/bin/streetworks -postcode='NW5 4HS' -pushover_token='${secrets.pushover.tokens.depot}' -pushover_user='${secrets.pushover.userKey}'";