systemd example file

This commit is contained in:
Bandie 2020-05-02 20:29:52 +02:00
parent 57fb2f7b99
commit 4622833ff5
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312

10
systemd/dingd.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=dingd Service
[Service]
ExecStart=/root/ding/dingd -c /path/to/config/file/dingd.cfg
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=default.target