1 2 3 4 5 6 7
[Unit] Description=Network %I is online [Service] Type=simple ExecStart=/lib/network/network-online start %I ExecStop=/lib/network/network-online stop %I