Skip to content
This repository was archived by the owner on May 22, 2020. It is now read-only.

Commit 4622833

Browse files
committed
systemd example file
1 parent 57fb2f7 commit 4622833

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

systemd/dingd.service

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
Description=dingd Service
3+
4+
[Service]
5+
ExecStart=/root/ding/dingd -c /path/to/config/file/dingd.cfg
6+
Restart=on-failure
7+
RestartSec=5s
8+
9+
[Install]
10+
WantedBy=default.target

0 commit comments

Comments
 (0)