mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 07:35:38 +00:00
try to restart services after waiting for identity file
This commit is contained in:
parent
c12d54314e
commit
bdaf63da20
@ -78,6 +78,10 @@ in {
|
||||
owner = "caddy";
|
||||
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 cloudflare-dyndns.service
|
||||
'';
|
||||
|
||||
# Wait for secret to exist
|
||||
systemd.services.caddy = {
|
||||
|
Loading…
Reference in New Issue
Block a user