Add a simple installer!

Sortof re-invents what debian packages do a little bit.
This commit is contained in:
yuvipanda
2018-06-26 18:37:24 -07:00
parent 4042288e91
commit 5f4aed5b4b
3 changed files with 62 additions and 0 deletions

View 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}