mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 07:35:38 +00:00
fix: can't restart systemd from post while also a requirement
oneshot requirements wait for programs to exit anyway
This commit is contained in:
parent
a853352a57
commit
5cb7b87e74
@ -78,10 +78,6 @@ in {
|
||||
owner = "caddy";
|
||||
group = "caddy";
|
||||
};
|
||||
systemd.services.cloudflare-api-secret.postStop = ''
|
||||
/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