HI,
chkservd check all services every one minutes. but i it does not check https service.
let me know how to add https service at chkservd as whm service manager do not provie option for it.
i tried following things but it didnt work.
cd /etc/chkserv.d
cat httpd
service[httpd]=80,GET / HTTP/1.0,HTTP/1..,/scripts/checkmaxclients;killall -TERM httpd;sleep 2;killall -9 httpd;/etc/rc.d/in
i
t.d/httpd stop;/etc/rc.d/init.d/httpd startssl;/usr/local/apache/bin/apachectl startssl;/etc/rc.d/init.d/httpdÂ*start;/usr/loa
l/apache/bin/apachectl start
vi https (copy above content in https file)
service[httpd]=443,GET / HTTP/1.0,HTTP/1..,/scripts/checkmaxclients;killall -TERM httpd;sleep 2;killall -9 httpd;/etc/rc.d/in
i
t.d/httpd stop;/etc/rc.d/init.d/httpd startssl;/usr/local/apache/bin/apachectl startssl;/etc/rc.d/init.d/httpd start;/usr/loa
l/apache/bin/apachectl start
i changed port no only but it didnt work too.
Thank you,
chkservd check all services every one minutes. but i it does not check https service.
let me know how to add https service at chkservd as whm service manager do not provie option for it.
i tried following things but it didnt work.
cd /etc/chkserv.d
cat httpd
service[httpd]=80,GET / HTTP/1.0,HTTP/1..,/scripts/checkmaxclients;killall -TERM httpd;sleep 2;killall -9 httpd;/etc/rc.d/in
i
t.d/httpd stop;/etc/rc.d/init.d/httpd startssl;/usr/local/apache/bin/apachectl startssl;/etc/rc.d/init.d/httpdÂ*start;/usr/loa
l/apache/bin/apachectl start
vi https (copy above content in https file)
service[httpd]=443,GET / HTTP/1.0,HTTP/1..,/scripts/checkmaxclients;killall -TERM httpd;sleep 2;killall -9 httpd;/etc/rc.d/in
i
t.d/httpd stop;/etc/rc.d/init.d/httpd startssl;/usr/local/apache/bin/apachectl startssl;/etc/rc.d/init.d/httpd start;/usr/loa
l/apache/bin/apachectl start
i changed port no only but it didnt work too.
Thank you,