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

View File

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