diff --git a/systemd/dingd.service b/systemd/dingd.service new file mode 100644 index 0000000..57b6764 --- /dev/null +++ b/systemd/dingd.service @@ -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