Created
March 13, 2025 02:47
-
-
Save walice/76a6cfae2051de24b47ba306d95bee52 to your computer and use it in GitHub Desktop.
Configuration file needed to run JupyterHub as a service. The file should be placed in `/etc/systemd/system/jupyterhub.service`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=JupyterHub Service | |
| After=network.target | |
| [Service] | |
| User=root | |
| ExecStart=/usr/local/bin/jupyterhub -f /etc/jupyterhub/jupyterhub_config.py | |
| WorkingDirectory=/root | |
| Restart=always | |
| RestartSec=10 | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment