fix: make network interfaces required by caddy with bindsto
parent
5c7672e67f
commit
078852c255
|
@ -490,7 +490,8 @@
|
|||
# patch the caddy service to wait for the tailscale interface before starting
|
||||
systemd.services."caddy" = {
|
||||
requires = [ "tailscaled.service" ];
|
||||
after = [ "sys-subsystem-net-devices-tailscale0.device" "tailscaled.service" ];
|
||||
bindsto = [ "sys-subsystem-net-devices-tailscale0.device" "sys-subsystem-net-devices-enp3s0.device" ];
|
||||
after = [ "sys-subsystem-net-devices-tailscale0.device" "sys-subsystem-net-devices-enp3s0.device" "tailscaled.service" ];
|
||||
};
|
||||
|
||||
# Headscale for access to the network while away from home
|
||||
|
|
Loading…
Reference in New Issue