Start JupyterHub / CHP when system starts

This commit is contained in:
yuvipanda
2018-06-28 00:49:36 -07:00
parent 30486963d7
commit dd53176889
4 changed files with 25 additions and 0 deletions

View File

@@ -46,6 +46,10 @@ def ensure_jupyterhub_service(prefix):
# If JupyterHub is running, we want to restart it.
systemd.restart_service('jupyterhub')
# Mark JupyterHub & CHP to start at boot ime
systemd.enable_service('jupyterhub')
systemd.enable_service('configurable-http-proxy')
def ensure_jupyterhub_package(prefix):
"""