11 lines
313 B
SYSTEMD
11 lines
313 B
SYSTEMD
|
[Unit]
|
||
|
Description=JupyterHub
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/jupyterhub/bin"
|
||
|
ExecStart=/opt/jupyterhub/bin/jupyterhub -f /opt/jupyterhub/etc/jupyterhub/jupyterhub_config.py
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|