fix: `caddy.service.service` -> `caddy.service`

main
LeRoyce Pearson 2024-01-09 15:24:53 -07:00
parent 7c9f92d7ee
commit 5c7672e67f
1 changed files with 2 additions and 1 deletions

View File

@ -487,7 +487,8 @@
reverse_proxy localhost:8989 reverse_proxy localhost:8989
''; '';
}; };
systemd.services."caddy.service" = { # patch the caddy service to wait for the tailscale interface before starting
systemd.services."caddy" = {
requires = [ "tailscaled.service" ]; requires = [ "tailscaled.service" ];
after = [ "sys-subsystem-net-devices-tailscale0.device" "tailscaled.service" ]; after = [ "sys-subsystem-net-devices-tailscale0.device" "tailscaled.service" ];
}; };