[Unit] Description=Configure Routing for Internet Connections; After=network.target After=rc-local.service [Service] ExecStart=/root/bin/check_net/check_net.sh ExecStartPre=rm -rf /tmp/check_net.sh.LOCK ExecStopPost=rm -rf /tmp/check_net.sh.LOCK KillMode=control-group SendSIGKILL=yes TimeoutStopSec=2 Restart=on-failure [Install] WantedBy=multi-user.target