1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Netvirt Agent After=network.target [Service] Environment="HOME=/root" ExecStart=/usr/bin/netvirt-agent ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=always [Install] WantedBy=multi-user.target