fix: caddy: wait for tailscale0 before starting
parent
ebd4de710b
commit
00d4f16122
|
@ -487,6 +487,10 @@
|
||||||
reverse_proxy localhost:8989
|
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
|
# Headscale for access to the network while away from home
|
||||||
services.headscale = {
|
services.headscale = {
|
||||||
|
|
Loading…
Reference in New Issue