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 command line parameters. solprovider On 1/26/08, Ashwin Basagouda Patil <ashwin.patil@xxxxxxxxxxxxxx> wrote: > How I can restart the Apache in one line command ?.... > I am using this command to start with SSL connections: > /usr/local/apache/bin/apachectl startssl > > This command restarts without SSL connections: > /usr/local/apache/bin/apachectl restart > > Please suggest how apache can restart with SSL connections using a one-line command. > > Thanks & Regards > Ashwin Patil --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx