diff --git a/make_user_accounts/jupyterlab@.service b/make_user_accounts/jupyterlab@.service new file mode 100644 index 0000000..416bcf4 --- /dev/null +++ b/make_user_accounts/jupyterlab@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Jupyter Lab Server (%i) +After=nginx.service + +[Service] +User=%i +Group=%i +Type=simple +WorkingDirectory=/home/%i/ +ExecStart=/usr/local/bin/jupyter-lab --config=/home/%i/.jupyter/jupyter_notebook_config.py +StandardOutput=null +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target