fix: multiline execstartpost

This commit is contained in:
Noah Masur 2024-03-24 19:23:41 -04:00
parent 316439dc9a
commit cbf0d2680c

View File

@ -79,7 +79,7 @@ in {
group = "caddy"; group = "caddy";
}; };
systemd.services.cloudflare-api-secret.serviceConfig.ExecStartPost = '' 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 /run/current-system/sw/bin/systemctl restart cloudflare-dyndns.service
''; '';