Browse Source

systemd example file

master
Bandie 2 years ago
parent
commit
4622833ff5
Signed by: Bandie GPG Key ID: 843D7FA93BA46312
  1. 10
      systemd/dingd.service

10
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
Loading…
Cancel
Save