- add nodejs module to use npm package provider - add jupyterhub role - add class to configure the jupyterhub instance - add ldap groups - add nginx simpleproxy
17 lines
380 B
Plaintext
17 lines
380 B
Plaintext
[Unit]
|
|
Description=JupyterHub
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/opt/jupyterhub/venv/bin/jupyterhub -f /opt/jupyterhub/config.py
|
|
WorkingDirectory=/opt/jupyterhub
|
|
User=<%= @owner %>
|
|
Group=<%= @group %>
|
|
|
|
Environment="PATH=/opt/jupyterhub/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|