mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #666 from DataCascadia/pycascades_sprints
Added instructions for restarting JupyterHub to docs (re: #455)
This commit is contained in:
@@ -10,6 +10,7 @@ guides help you find what is broken & hopefully fix it.
|
|||||||
:caption: Troubleshooting
|
:caption: Troubleshooting
|
||||||
|
|
||||||
logs
|
logs
|
||||||
|
restart
|
||||||
|
|
||||||
Often, your issues are not related to TLJH itself but to the cloud provider
|
Often, your issues are not related to TLJH itself but to the cloud provider
|
||||||
your server is running on. We have some documentation on common issues you
|
your server is running on. We have some documentation on common issues you
|
||||||
@@ -21,4 +22,4 @@ here to better support your favorite provider!
|
|||||||
|
|
||||||
providers/google
|
providers/google
|
||||||
providers/amazon
|
providers/amazon
|
||||||
providers/custom
|
providers/custom
|
||||||
|
|||||||
31
docs/troubleshooting/restart.rst
Normal file
31
docs/troubleshooting/restart.rst
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
=============================================
|
||||||
|
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
|
||||||
|
|
||||||
|
$ sudo tljh-config reload proxy
|
||||||
|
|
||||||
|
This calls systemctl and restarts Traefik. The user may call systemctl and restart only the JupyterHub using the command:
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
$ sudo tljh-config reload hub
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user