cert-watcher: restart web servers w/o blocking
This commit is contained in:
@@ -201,7 +201,7 @@ in
|
|||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = "${pkgs.systemd}/bin/systemctl restart nginx.service caddy.service";
|
ExecStart = "${pkgs.systemd}/bin/systemctl restart --no-block nginx.service caddy.service";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user