Gracefully shutdown dhcpd

Bob Harold rharolde at umich.edu
Wed Jun 24 11:38:07 UTC 2015


On Tue, Jun 23, 2015 at 7:24 PM, Shraddha Pandhe <
spandhe.openstack at gmail.com> wrote:

> Hi,
>
> Is there a way to gracefully shutdown DHCPD using a signal?
>
> I see that dhcpd supports following states:
>
> enum dhcp_shutdown_state {
> shutdown_listeners,
> shutdown_omapi_connections,
> shutdown_drop_omapi_connections,
> shutdown_dhcp,
> shutdown_done
> };
>
>
> Is there a way to follow these states, without using OMAPI connection?
>
> From the man page:
"To restart dhcpd, send a SIGTERM (signal 15) to the process ID contained
in RUNDIR/dhcpd.pid, and then re-invoke dhcpd."

Sounds to me like  kill -TERM is a graceful shutdown for dhcpd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150624/e515f83c/attachment.html>


More information about the dhcp-users mailing list