fix: make network interfaces required by caddy with bindsto
parent
5c7672e67f
commit
fecaee1a83
|
@ -490,7 +490,8 @@
|
||||||
# patch the caddy service to wait for the tailscale interface before starting
|
# patch the caddy service to wait for the tailscale interface before starting
|
||||||
systemd.services."caddy" = {
|
systemd.services."caddy" = {
|
||||||
requires = [ "tailscaled.service" ];
|
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
|
# Headscale for access to the network while away from home
|
||||||
|
|
Loading…
Reference in New Issue