Add tank.service.

This commit is contained in:
zicla 2019-05-23 02:44:05 +08:00
parent fd5f6ca32d
commit abffa2933b

View File

@ -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