From cd38386d259d45caac903748c484017484437ace Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 27 Jun 2018 03:24:28 -0700 Subject: [PATCH] Set PATH properly when starting configurable-http-proxy --- tljh/systemd-units/configurable-http-proxy.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tljh/systemd-units/configurable-http-proxy.service b/tljh/systemd-units/configurable-http-proxy.service index 1187593..b7bf910 100644 --- a/tljh/systemd-units/configurable-http-proxy.service +++ b/tljh/systemd-units/configurable-http-proxy.service @@ -14,6 +14,8 @@ PrivateDevices=yes ProtectKernelTunables=yes ProtectKernelModules=yes 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 \ --ip 0.0.0.0 \ --port 80 \