puppet-prod/site/profiles/templates/jupyterhub/jupyterhub.service.erb
Ben Vincent 159d66af18 feat: add jupyterhub role
- add nodejs module to use npm package provider
- add jupyterhub role
- add class to configure the jupyterhub instance
- add ldap groups
- add nginx simpleproxy
2024-11-10 19:09:50 +11:00

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