mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
change systemd to more specifially use the venv
This commit is contained in:
parent
6a2283bef8
commit
8ac48e150f
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ After=syslog.target network.target
|
|||
[Service]
|
||||
User=root
|
||||
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:{{ jupyter_venv }}/bin"
|
||||
ExecStart={{ jupyter_venv }}/bin/jupyterhub -f {{ jupyter_venv }}/etc/jupyterhub/jupyterhub_config.py
|
||||
ExecStart={{ jupyter_venv }}/bin/python3 -m jupyterhub -f {{ jupyter_venv }}/etc/jupyterhub/jupyterhub_config.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue