mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Start JupyterHub / CHP when system starts
This commit is contained in:
@@ -20,3 +20,7 @@ ProtectKernelModules=yes
|
||||
EnvironmentFile={install_prefix}/configurable-http-proxy.secret
|
||||
Environment=TLJH_INSTALL_PREFIX={install_prefix}
|
||||
ExecStart={python_interpreter_path} -m jupyterhub.app -f {jupyterhub_config_path}
|
||||
|
||||
[Install]
|
||||
# Start service when system boots
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user