How to restart lightspeed server using command line?

Assuming the web server is installed at /usr/local/lsws.

Use the lswsctrl control script in /usr/local/lsws/bin/ directory.

To start the web server:
/usr/local/lsws/bin/lswsctrl start

To stop the web server:
/usr/local/lsws/bin/lswsctrl stop

To restart the web server:
/usr/local/lsws/bin/lswsctrl restart

To reload the configuration:
/usr/local/lsws/bin/lswsctrl reload