mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
switch restart script to multiline script
This commit is contained in:
parent
cbf0d2680c
commit
db051a737e
@ -78,8 +78,8 @@ in {
|
|||||||
owner = "caddy";
|
owner = "caddy";
|
||||||
group = "caddy";
|
group = "caddy";
|
||||||
};
|
};
|
||||||
systemd.services.cloudflare-api-secret.serviceConfig.ExecStartPost = ''
|
systemd.services.cloudflare-api-secret.postStop = ''
|
||||||
/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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user