1 2 3 4 5 6 7 8 9 10
[Unit] Description=Online monitor Requires=network-online.target After=network-online.target [Service] ExecStart=/usr/local/bin/onmon.sh [Install] WantedBy=default.target