Explorar el Código

make sure we start as the right user

George Baugh hace 1 año
padre
commit
55433f11ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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