mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update entrypoint.sh
This commit is contained in:
parent
5a1012e901
commit
c51916c014
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user