See:
http://httpd.apache.org/docs/2.0/programs/apachectl.html
http://httpd.apache.org/docs/2.0/programs/httpd.html
A one-line restart command needs "-DSSL". Be explicit using the
parameters from the second link:
apachectl -k restart -DSSL
A better solution is to reconfigure for SSL without comma
Dear All,
How I can restart the Apache in one line command ?
I am using the bellow command, to start in SSL connection.
/usr/local/apache/bin/apachectl startssl
If I use the bellow cammand, to restart it is starting in the NON SSL
connection.
/usr/local/apache/bin/apachectl restart
Ple
Here's the deal - I can't restart apache
service httpd restart
or
service httpd stop
service httpd start
without manually first terminating a bunch of hung processes...
# service httpd stop
Shutting down httpd:[ OK ]
#
# service httpd start
Starting