When the routes service tries to configure routing on Dwellers, network isn't ready:
Error: Nexthop has invalid gateway.`
Suggestion is to run the service a little after, by replacing After=network.target by After=network-online.target, the one used by nginx for example.
Dwellers
$ systemctl list-units --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● routes.service loaded failed failed Apply static routes through ip routes $ systemctl status routes × routes.service - Apply static routes through ip routes Loaded: loaded (/etc/systemd/system/routes.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Thu 2023-04-06 13:54:53 UTC; 1 month 18 days ago Docs: https://agora.nasqueron.org/Operations_grimoire/Network Main PID: 1034 (code=exited, status=123) CPU: 11ms Apr 06 13:54:52 dwellers.nasqueron.org systemd[1]: Starting Apply static routes through ip routes... Apr 06 13:54:53 dwellers.nasqueron.org routes[1042]: Error: Nexthop has invalid gateway. Apr 06 13:54:53 dwellers.nasqueron.org systemd[1]: routes.service: Main process exited, code=exited, status=123/n/a Apr 06 13:54:53 dwellers.nasqueron.org systemd[1]: routes.service: Failed with result 'exit-code'. Apr 06 13:54:53 dwellers.nasqueron.org systemd[1]: Failed to start Apply static routes through ip routes.
Manually changed on Dwellers 2023-05-25.
If Dwellers reboots, check the state of systemctl.