mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update UPDATE.sh
This commit is contained in:
parent
cbc7ea802b
commit
4b79b49f86
@ -409,14 +409,14 @@ download_new_admin() {
|
|||||||
|
|
||||||
uninstall_watcher_service(){
|
uninstall_watcher_service(){
|
||||||
|
|
||||||
systemctl stop watcher.service
|
systemctl stop watcher.service
|
||||||
systemctl disable watcher.service
|
systemctl disable watcher.service
|
||||||
service watcher stop
|
service watcher stop
|
||||||
service watcher disable
|
service watcher disable
|
||||||
rm -rf /usr/local/admin/scripts/watcher
|
rm -rf /usr/local/admin/scripts/watcher
|
||||||
rm /etc/systemd/system/watcher.service
|
rm /etc/systemd/system/watcher.service
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -424,9 +424,9 @@ systemctl daemon-reload
|
|||||||
|
|
||||||
php_fix(){
|
php_fix(){
|
||||||
|
|
||||||
for username in $(opencli user-list --json | awk -F'"' '/username/ {print $4}'); do
|
for username in $(opencli user-list --json | awk -F'"' '/username/ {print $4}'); do
|
||||||
docker exec "$username" bash -c 'sed -i "s/PHP82FPM_STATUS=\"off\"/PHP82FPM_STATUS=\"on\"/g" /etc/entrypoint.sh'
|
docker exec "$username" bash -c 'sed -i "s/PHP82FPM_STATUS=\"off\"/PHP82FPM_STATUS=\"on\"/g" /etc/entrypoint.sh'
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user