The litespeed restart flow, after applying wrapper script
| \_ safeaprestart - doing restart ./wwwacct
| \_ /usr/bin/perl /scripts/restartsrv_httpd
| \_ /bin/sh /etc/rc.d/init.d/httpd start
| \_ /bin/sh /usr/local/apache/bin/httpd -DSSL
| \_ /bin/sh /home/lsws/bin/lswsctrl start
| \_ sleep 1
Mr,George , Can you tell me , is there any one line command , that can just swap the webserver between apache and lsws ?
Or , can you make a file just like
service http start
which will do the following
cd /usr/local/apache/bin
mv httpd httpd_ls
mv httpd_ls_bak httpd
killall -9 lshttpd
service httpd restart
which will restart apache
I will appreciate , if you pack this file with the litespeed installation.
Regards
Vivek