systemd example file
This commit is contained in:
parent
57fb2f7b99
commit
4622833ff5
10
systemd/dingd.service
Normal file
10
systemd/dingd.service
Normal 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
|
Loading…
Reference in New Issue
Block a user