mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add a simple installer!
Sortof re-invents what debian packages do a little bit.
This commit is contained in:
12
tljh/systemd-units/jupyterhub.service
Normal file
12
tljh/systemd-units/jupyterhub.service
Normal file
@@ -0,0 +1,12 @@
|
||||
# Template file for JupyterHub systemd service
|
||||
# Runs both JupyterHub and ConfigurableHTTPProxy
|
||||
# Uses simple string.format() for 'templating'
|
||||
[Unit]
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Restart=always
|
||||
StateDirectory=jupyterhub
|
||||
WorkingDirectory=/var/lib/jupyterhub
|
||||
ExecStart={python_interpreter_path} -m jupyterhub.app -f {jupyterhub_config_path}
|
||||
Reference in New Issue
Block a user