fix: caddy: wait for tailscale0 before starting

main
LeRoyce Pearson 2024-01-09 14:26:28 -07:00
parent ebd4de710b
commit 00d4f16122
1 changed files with 4 additions and 0 deletions

View File

@ -487,6 +487,10 @@
reverse_proxy localhost:8989
'';
};
systemd.services."caddy.service" = {
Requires = [ "tailscaled.service" ];
After = [ "sys-subsystem-net-devices-tailscale0.device" "tailscaled.service" ];
}
# Headscale for access to the network while away from home
services.headscale = {