停止和重启 JupyterHub 服务器#

用户可以使用以下命令停止 JupyterHub 服务器

$ systemctl stop jupyterhub.service

警告

请记住,其他服务可能也需要停止

  • 用户的 Jupyter 服务器:jupyter-username.service

  • traefik.service

用户可以通过运行以下命令重启 JupyterHub 和 Traefik 服务

$ sudo tljh-config reload proxy

这会调用 systemctl 并重启 Traefik。用户可以使用以下命令调用 systemctl 并仅重启 JupyterHub

$ sudo tljh-config reload hub