move proxy secret to state dir

This commit is contained in:
Min RK
2018-07-17 08:36:06 -07:00
parent 54532997d5
commit 24b535d524
3 changed files with 7 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ PrivateDevices=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
# Source CONFIGPROXY_AUTH_TOKEN from here!
EnvironmentFile={install_prefix}/configurable-http-proxy.secret
EnvironmentFile={install_prefix}/hub/state/configurable-http-proxy.secret
Environment=TLJH_INSTALL_PREFIX={install_prefix}
ExecStart={python_interpreter_path} -m jupyterhub.app -f {jupyterhub_config_path}