Auto restart services on OOM
This commit is contained in:
parent
e39ff5c046
commit
80b9e756d5
8 changed files with 30 additions and 7 deletions
|
|
@ -5,6 +5,7 @@
|
|||
...
|
||||
}: {
|
||||
config = {
|
||||
systemd.services.caddy.serviceConfig.Restart = lib.mkForce "always";
|
||||
networking.firewall.allowedTCPPorts = [443];
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue