October 14, 2007 · Server · Email This Post
Share

If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums. Thanks for visiting!

Sometimes you want to restart your Apache server after changing some configuration in your virutual hosts,sites etc, but you have few hundred clients currently downloading files from your server and you don’t want to disconnect them.

You need to use the following command

sudo /etc/init.d/apache2 graceful

This will gracefully restart your Apache with new configuration without affecting your client’s connections.

  • Share/Bookmark

Related Articles

Leave a Reply