From 4622833ff5fb5fa010bdf10058c331e14552ad8c Mon Sep 17 00:00:00 2001 From: Bandie Date: Sat, 2 May 2020 20:29:52 +0200 Subject: [PATCH] systemd example file --- systemd/dingd.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 systemd/dingd.service 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