Skip to content

Commit

Permalink
Merge pull request #666 from DataCascadia/pycascades_sprints
Browse files Browse the repository at this point in the history
Added instructions for restarting JupyterHub to docs (re: #455)
  • Loading branch information
consideRatio committed Oct 16, 2021
2 parents 7f8842b + d6cf2f4 commit d9e525d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/troubleshooting/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,4 +22,4 @@ here to better support your favorite provider!

providers/google
providers/amazon
providers/custom
providers/custom
31 changes: 31 additions & 0 deletions docs/troubleshooting/restart.rst
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d9e525d

Please sign in to comment.