[Unit] Description=Parking dev: pin route source addresses (WSL2 mirrored-mode fix) # Run after WSL has populated the mirrored interfaces/addresses. After=network.target wsl-pro.service Wants=network.target [Service] Type=oneshot RemainAfterExit=yes # Idempotent; safe to re-run. Path is the repo checkout on this dev box. ExecStart=/home/julian/projects/JS/parking-system/deploy/wsl-fix-route-source.sh eth1 # Mirrored-mode addresses can land slightly after boot; one retry covers the race. ExecStartPost=/bin/sh -c 'sleep 3; /home/julian/projects/JS/parking-system/deploy/wsl-fix-route-source.sh eth1 || true' [Install] WantedBy=multi-user.target