mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
28 lines
596 B
Markdown
28 lines
596 B
Markdown
|
|
# Stopping and Restarting the JupyterHub Server
|
||
|
|
|
||
|
|
The user can **stop** the JupyterHub server using:
|
||
|
|
|
||
|
|
```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:
|
||
|
|
|
||
|
|
```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:
|
||
|
|
|
||
|
|
```console
|
||
|
|
$ sudo tljh-config reload hub
|
||
|
|
```
|