relocate the files
[remote-debug.git] / board / suanzi-support.service
diff --git a/board/suanzi-support.service b/board/suanzi-support.service
new file mode 100644 (file)
index 0000000..dbf7a11
--- /dev/null
@@ -0,0 +1,16 @@
+[Unit]
+Description= suanzi support daemon
+After=network-online.target
+
+[Service]
+User=debug
+Type=simple
+ExecStart=/usr/local/bin/suanzi-support
+ExecStop=/usr/bin/pkill -P $MAINPID
+KillMode=process
+Restart=always
+RestartSec=60
+
+[Install]
+WantedBy=multi-user.target
+