diff --git a/build/service/tank.service b/build/service/tank.service new file mode 100644 index 0000000..e3d3cd6 --- /dev/null +++ b/build/service/tank.service @@ -0,0 +1,15 @@ +[Unit] +Description=EyeblueTank +Documentation=https://tank-doc.eyeblue.cn +Wants=network.target +After=network.target + +[Service] +Type=simple +DynamicUser=yes +ExecStart=/data/program/tank/tank +Restart=always +RestartSec=3 + +[Install] +WantedBy=multi-user.target \ No newline at end of file