mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update UPDATE.sh
This commit is contained in:
@@ -84,6 +84,9 @@ FUNCTIONS=(
|
||||
#notify user we started
|
||||
print_header
|
||||
|
||||
# fix for bug with php not autostarting
|
||||
php_fix
|
||||
|
||||
# update images!
|
||||
update_docker_images
|
||||
|
||||
@@ -359,6 +362,16 @@ rm /etc/systemd/system/watcher.service
|
||||
systemctl daemon-reload
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
php_fix(){
|
||||
|
||||
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'
|
||||
done
|
||||
|
||||
|
||||
}
|
||||
|
||||
update_config_files() {
|
||||
|
||||
Reference in New Issue
Block a user