cert-watcher: restart web servers w/o blocking

This commit is contained in:
2025-07-01 16:15:15 +00:00
parent 93810da6df
commit c64ec56dc0

View File

@@ -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";
}; };
}; };