From 8827c45df1459bc8e81471072d9a692106fdd223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=94=E7=9B=9F=E5=B0=91=E4=BE=A0?= Date: Sun, 6 Sep 2020 23:40:58 +0800 Subject: [PATCH] fix debian user can not start tank bug --- build/service/tank.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/service/tank.service b/build/service/tank.service index e3d3cd6..784e73c 100644 --- a/build/service/tank.service +++ b/build/service/tank.service @@ -6,10 +6,10 @@ After=network.target [Service] Type=simple -DynamicUser=yes +#DynamicUser=yes ExecStart=/data/program/tank/tank Restart=always RestartSec=3 [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target