[CentOS] named & rndc
loony at loonybin.org
Sat Sep 22 13:44:20 UTC 2007
On Saturday 22 September 2007, umair shakil wrote:
> Tell me one thing, you killed the service, means service not running.....
> when u start the
> service then why are u using this command!!!
> service named restart????????
> should be "service named start" or /etc/init.d/named start
Because restart executes stop and then start. Even if the process has been
killed, there may be other things like lock files, shared memory segments and
so on around that will be properly removed by stop. Therefore using restart
instead of start is a correct and good practice.
More information about the CentOS