mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Set PATH properly when starting configurable-http-proxy
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user