Created
November 24, 2016 15:31
-
-
Save puilp0502/72f5e55f2d4e8f983fa0e337819b1b5a to your computer and use it in GitHub Desktop.
systemd service file for Jupyterhub
This file contains 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
#Assuming you followed the guide at https://github.com/jupyterhub/jupyterhub/wiki/Using-sudo-to-run-JupyterHub-without-root-privileges | |
[Unit] | |
Description=JupyterHub Server | |
[Service] | |
#replace with your jupyterhub running user | |
User=rhea | |
Group=rhea | |
WorkingDirectory=/etc/jupyterhub/ | |
ExecStart=/usr/local/bin/jupyterhub --JupyterHub.spawner_class=sudospawner.SudoSpawner | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment