fix debian user can not start tank bug

This commit is contained in:
联盟少侠 authored and GitHub committed 2020-09-06 23:40:58 +08:00
1 parent b91518136b
commit 8827c45df1
1 file changed
+2 -2
+2 -2
View File
@@ -6,10 +6,10 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
DynamicUser=yes #DynamicUser=yes
ExecStart=/data/program/tank/tank ExecStart=/data/program/tank/tank
Restart=always Restart=always
RestartSec=3 RestartSec=3
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target