Set PATH properly when starting configurable-http-proxy

This commit is contained in:
yuvipanda
2018-06-27 03:24:28 -07:00
parent c1fcf414d5
commit cd38386d25

View File

@@ -14,6 +14,8 @@ PrivateDevices=yes
ProtectKernelTunables=yes ProtectKernelTunables=yes
ProtectKernelModules=yes ProtectKernelModules=yes
EnvironmentFile={install_prefix}/configurable-http-proxy.secret EnvironmentFile={install_prefix}/configurable-http-proxy.secret
# Set PATH so env can find correct node
Environment=PATH=$PATH:{install_prefix}/hub/bin
ExecStart={install_prefix}/hub/bin/configurable-http-proxy \ ExecStart={install_prefix}/hub/bin/configurable-http-proxy \
--ip 0.0.0.0 \ --ip 0.0.0.0 \
--port 80 \ --port 80 \