2021-02-21 18:31:32 -08:00
|
|
|
|
|
|
|
|
=============================================
|
|
|
|
|
Stopping and Restarting the JupyterHub Server
|
|
|
|
|
=============================================
|
|
|
|
|
|
|
|
|
|
The user can **stop** the JupyterHub server using:
|
|
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
|
|
$ systemctl stop jupyterhub.service
|
|
|
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
|
|
|
|
|
Keep in mind that other services that may also require stopping:
|
|
|
|
|
|
|
|
|
|
* The user's Jupyter server: jupyter-username.service
|
|
|
|
|
* Traefik.service
|
|
|
|
|
|
|
|
|
|
The user may **restart** JupyterHub and Traefik services by running:
|
|
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
2021-10-16 20:21:38 +02:00
|
|
|
$ sudo tljh-config reload proxy
|
2021-02-21 18:31:32 -08:00
|
|
|
|
|
|
|
|
This calls systemctl and restarts Traefik. The user may call systemctl and restart only the JupyterHub using the command:
|
|
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
2021-10-16 20:21:38 +02:00
|
|
|
$ sudo tljh-config reload hub
|