From cbf0d2680cc2cda673df314859e99166ec1002b1 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 24 Mar 2024 19:23:41 -0400 Subject: [PATCH] fix: multiline execstartpost --- modules/nixos/services/cloudflare.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/services/cloudflare.nix b/modules/nixos/services/cloudflare.nix index b510a3e..a21a8ec 100644 --- a/modules/nixos/services/cloudflare.nix +++ b/modules/nixos/services/cloudflare.nix @@ -79,7 +79,7 @@ in { group = "caddy"; }; systemd.services.cloudflare-api-secret.serviceConfig.ExecStartPost = '' - /run/current-system/sw/bin/systemctl restart caddy.service + /run/current-system/sw/bin/systemctl restart caddy.service && \ /run/current-system/sw/bin/systemctl restart cloudflare-dyndns.service '';