Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

How To Restart Services (See related posts)

Restart Apache:
service httpd restart


Restart Services:
service chkservd restart


Restart Cpanel:
/etc/init.d/cpanel restart


Restart Bind:
service named start


Run anything in /scripts:
./scriptname


Comments on this post

danb posts on Aug 28, 2005 at 02:37
Use "apachectl graceful" to restart apache a little more gracefully. It waits till all requests are completed before terminating and restarting the service.
nothingless posts on Aug 28, 2005 at 10:29
Thanks for the hint! :)

You need to create an account or log in to post comments to this site.


Related Posts