Update entrypoint.sh

This commit is contained in:
Stefan Pejcic 2024-12-21 01:18:27 +01:00 committed by GitHub
parent b918d7a0d5
commit e95aa86728
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ SUDO="NO"
# Configuration files and directories
memcached_dir="/var/run/memcached/"
apache_default_site="/etc/apache2/sites-available/000-default.conf"
@ -39,7 +39,7 @@ PHP83FPM_STATUS="off"
PHP84FPM_STATUS="off"
MYSQL_STATUS="off"
CRON_STATUS="off"
APACHE_STATUS="off"
LITESPEED_STATUS="off"
start_service() {
if [ "$1" == "on" ]; then
@ -66,7 +66,7 @@ start_service "$PHP83FPM_STATUS" "php8.3-fpm"
start_service "$PHP84FPM_STATUS" "php8.4-fpm"
start_service "$MYSQL_STATUS" "mysql"
start_service "$CRON_STATUS" "cron"
start_service "$APACHE_STATUS" "apache2"
start_service "$LITESPEED_STATUS" "lsws"