diff --git a/docs/troubleshooting/index.rst b/docs/troubleshooting/index.rst index 184404c..12361a0 100644 --- a/docs/troubleshooting/index.rst +++ b/docs/troubleshooting/index.rst @@ -10,6 +10,7 @@ guides help you find what is broken & hopefully fix it. :caption: Troubleshooting logs + restart 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 @@ -21,4 +22,4 @@ here to better support your favorite provider! providers/google providers/amazon - providers/custom \ No newline at end of file + providers/custom diff --git a/docs/troubleshooting/restart.rst b/docs/troubleshooting/restart.rst new file mode 100644 index 0000000..18a2498 --- /dev/null +++ b/docs/troubleshooting/restart.rst @@ -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 + +