Skip to content

Instantly share code, notes, and snippets.

@jyhsu2000
Created July 3, 2019 06:51
Show Gist options
  • Save jyhsu2000/2cc2a6dfc88517b4507a992f7bb2a042 to your computer and use it in GitHub Desktop.
Save jyhsu2000/2cc2a6dfc88517b4507a992f7bb2a042 to your computer and use it in GitHub Desktop.
/etc/systemd/system/jupyterhub.service
[Unit]
Description=Jupyterhub
After=syslog.target network.target
[Service]
User=root
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
ExecStart=/usr/local/bin/jupyterhub -f /etc/jupyterhub/jupyterhub_config.py
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment