Skip to content

Commit 675ac42

Browse files
authored
Update ss-worker.txt
1 parent bcc671b commit 675ac42

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

bash/ss-worker.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,16 @@ fi
382382
## cleanup temp file ##
383383
# ss_rm /tmp/git-updater.zip
384384

385+
## Ubuntu 24.04 Nginx package regression hotfix ##
386+
## Ubuntu nginx 1.24.0-2ubuntu7.10 can segfault with external modules ##
387+
if [[ "${SYSTEM_UBUNTU_VERSION}" == "24.04" ]] && dpkg -s nginx 2> /dev/null | grep -q 'Version: 1.24.0-2ubuntu7.10'; then
388+
apt-get update
389+
apt-get install -y --only-upgrade nginx nginx-common nginx-extras
390+
if ! dpkg -s nginx 2> /dev/null | grep -q 'Version: 1.24.0-2ubuntu7.10'; then
391+
nginx -t && systemctl restart nginx
392+
fi
393+
fi
394+
385395
####################################################################################################
386396
#### P. SS-Worker: Reset Permissions (SlickStack) ##################################################
387397
####################################################################################################

0 commit comments

Comments
 (0)