1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=NodeStatus-Client Documentation=https://github.com/cokemine/nodestatus-client-go After=network.target [Service] EnvironmentFile=/etc/nodestatus/client/config.conf ExecStart=/usr/bin/nodestatus-client --dsn $DSN ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure [Install] WantedBy=multi-user.target