parent
edd3a073f0
commit
1987dbe35d
1 changed files with 9 additions and 6 deletions
|
@ -17,13 +17,16 @@ in {
|
|||
|
||||
boot.kernel.sysctl."net.ipv4.ip_nonlocal_bind" = 1;
|
||||
|
||||
systemd.services.caddy.serviceConfig = {
|
||||
EnvironmentFile = secrets.caddy-cloudflare.path;
|
||||
systemd.services.caddy = {
|
||||
preStart = "sleep 30";
|
||||
serviceConfig = {
|
||||
EnvironmentFile = secrets.caddy-cloudflare.path;
|
||||
|
||||
# For some reason the service
|
||||
# doesn't shutdown normally
|
||||
KillSignal = "SIGKILL";
|
||||
RestartKillSignal = "SIGKILL";
|
||||
# For some reason the service
|
||||
# doesn't shutdown normally
|
||||
KillSignal = "SIGKILL";
|
||||
RestartKillSignal = "SIGKILL";
|
||||
};
|
||||
};
|
||||
|
||||
services.caddy = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue