[Unit] Description=Clear interface route cache on next reboot After=network.target [Service] Type=oneshot ExecStart=/usr/local/bin/clear_interface_route_cache.sh ExecStartPost=/usr/bin/env reboot RemainAfterExit=yes [Install] WantedBy=multi-user.target