Parcourir la source

make sure we start as the right user

George Baugh il y a 1 an
Parent
commit
55433f11ea
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      service/tpsgi.tmpl

+ 1 - 1
service/tpsgi.tmpl

@@ -9,7 +9,7 @@ WantedBy=multi-user.target
 [Service]
 Type=forking
 PIDFile=__REPLACEME__/run/tpsgi.pid
-Environment=PATH='__PERL5BIN__'
+Environment=PATH='__PERL5BIN__' HOME=__REPLACEME_/
 ExecStart=__REPLACEME__/service/tpsgi.sh
 WorkingDirectory=__REPLACEME__/
 Restart=always