How to gracefully shutdown bind10 noninteractively

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Fri Dec 2 23:02:44 UTC 2011


At Fri, 2 Dec 2011 22:46:50 +0000,
"Spain, Dr. Jeffry A." <spainj at countryday.net> wrote:

> I would like to create an initialization script /etc/init.d/bind10 for Ununtu Oneiric that can start, stop, and restart bind10. To shutdown bind10, I understand that I can log into bindctl and issue the "Boss shutdown" command. Can you recommend a way to do this noninteractively in the proposed initialization script? Thanks.

kill (with SIGTERM) the bind10 ("boss") process should have the same
affect as 'Boss shutdown' via bindctl.  So, if you create a PID file
for it, do "kill `cat ${pid_file}`" in the script should work.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind10-users mailing list