1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Watchghost daemon After=network.target [Service] Type=simple User=watchghost Group=watchghost ExecStart=/usr/bin/watchghost --config=/etc/watchghost ExecReload=/bin/kill -SIGHUP $MAINPID [Install] WantedBy=multi-user.target