mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Update bunkerweb-ui.sh to include /usr/share/bunkerweb/ui in PYTHONPATH
This commit is contained in:
parent
9f2c86ce8e
commit
6f74d3ec1c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Set the PYTHONPATH
|
||||
export PYTHONPATH=/usr/share/bunkerweb/deps/python/
|
||||
export PYTHONPATH=/usr/share/bunkerweb/deps/python:/usr/share/bunkerweb/ui
|
||||
|
||||
# Create the ui.env file if it doesn't exist
|
||||
if [ ! -f /etc/bunkerweb/ui.env ]; then
|
||||
|
|
@ -17,7 +17,7 @@ start() {
|
|||
python3 -m gunicorn \
|
||||
--chdir /usr/share/bunkerweb/ui \
|
||||
--config /usr/share/bunkerweb/ui/gunicorn.conf.py \
|
||||
--pythonpath /usr/share/bunkerweb/deps/python/ \
|
||||
--pythonpath /usr/share/bunkerweb/deps/python,/usr/share/bunkerweb/ui \
|
||||
--user nginx \
|
||||
--group nginx \
|
||||
--bind "127.0.0.1:7000" &
|
||||
|
|
|
|||
Loading…
Reference in a new issue