Separate jupyterhub & chp services

Allows restarting hub for config changes without disrupting user
service!
This commit is contained in:
yuvipanda
2018-06-27 02:00:52 -07:00
parent 6fcc5cd357
commit cf4bd7e36e
4 changed files with 53 additions and 6 deletions

View File

@@ -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