From 3862426c7723dbbe54f9efbfb62e188cda3d3781 Mon Sep 17 00:00:00 2001 From: web Date: Sun, 10 Jan 2021 09:50:55 +0000 Subject: [PATCH] fix install script --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 03f2ed9..2ea607d 100755 --- a/install.sh +++ b/install.sh @@ -11,6 +11,7 @@ echo "ExecStop=$ROOT/stop.sh" >> $service echo "Type=forking" >> $service echo "PIDFile=$ROOT/twistd.pid" >> $service echo "WorkingDirectory=$ROOT" >> $service +echo "User=$USER" >> $service echo "[Install]" >> $service echo "WantedBy=multi-user.target" >> $service