Update entrypoint.sh

This commit is contained in:
Stefan Pejcic 2024-12-23 17:03:49 +01:00 committed by GitHub
parent 5a1012e901
commit c51916c014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,11 @@ LITESPEED_STATUS="off"
start_service() { start_service() {
if [ "$1" == "on" ]; then if [ "$1" == "on" ]; then
echo "Starting $2..." echo "Starting $2..."
service "$2" start if [ "$2" == "lsws" ]; then
/usr/local/lsws/bin/lswsctrl start
else
service "$2" start
fi
fi fi
} }