mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Separate jupyterhub & chp services
Allows restarting hub for config changes without disrupting user service!
This commit is contained in:
@@ -24,6 +24,8 @@ class CustomSpawner(SystemdSpawner):
|
||||
|
||||
c.JupyterHub.spawner_class = CustomSpawner
|
||||
|
||||
c.ConfigurableHTTPProxy.should_start = False
|
||||
|
||||
c.SystemdSpawner.extra_paths = [os.path.join(USER_ENV_PREFIX, 'bin')]
|
||||
c.SystemdSpawner.use_sudo = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user