Add 'make_user_accounts/jupyterlab@.service'
parent
a0251cb129
commit
5e0b53e449
@ -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
|
Loading…
Reference in New Issue