Add tank.service.
This commit is contained in:
parent
fd5f6ca32d
commit
abffa2933b
15
build/service/tank.service
Normal file
15
build/service/tank.service
Normal 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
|
Loading…
Reference in New Issue
Block a user