mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Create UPDATE.sh
This commit is contained in:
parent
6b9a5a0570
commit
3c94ba5146
14
version/1.1.4/UPDATE.sh
Normal file
14
version/1.1.4/UPDATE.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# env added to pip and services files edited to remove lock files on startup
|
||||||
|
|
||||||
|
source /usr/local/admin/venv/bin/activate
|
||||||
|
pip install --default-timeout=3600 --force-reinstall --ignore-installed -r requirements.txt > /dev/null 2>&1 || pip install --default-timeout=3600 --force-reinstall --ignore-installed -r requirements.txt --break-system-packages > /dev/null 2>&1
|
||||||
|
|
||||||
|
deactivate
|
||||||
|
|
||||||
|
wget -O /etc/openpanel/openadmin/service/service.config.py https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/openadmin/service/service.config.py
|
||||||
|
wget -O /etc/openpanel/openpanel/service/service.config.py https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/openpanel/service/service.config.py
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
systemctl restart admin
|
Loading…
Reference in New Issue
Block a user