Re: [Pdns-users] What signal to tell PDNS to shut down?

2019-01-15 Thread Nick Williams
Ah! Thanks, everyone! Using `--init` did, indeed, solve all my problems. Super helpful! Learn something new every day I suppose. :-) Nick > On Jan 13, 2019, at 5:05 PM, frank+pdns--- via Pdns-users > wrote: > > Hi Bert and Nick, > > Docker will issue a SIGTERM, and assumes an app responds t

Re: [Pdns-users] What signal to tell PDNS to shut down?

2019-01-13 Thread frank+pdns--- via Pdns-users
Hi Bert and Nick, Docker will issue a SIGTERM, and assumes an app responds to that. It is up to the container to “do what’s needed” upon receiving a SIGTERM. So it’s best practice to make sure SIGTERM does the right thing…. When using Docker, you should expect your container to be started, stop

Re: [Pdns-users] What signal to tell PDNS to shut down?

2019-01-13 Thread bert hubert
On Sun, Jan 13, 2019 at 08:32:33PM +, Brian Candler wrote: > >sends a `SIGTERM` to PID 1, waits some amount of time, and then sends > >SIGKILL to force it to stop. It’s having to resort to SIGKILL, because > >`pdns_server` doesn’t respond to `SIGTERM`. What is the correct signal to > >tell PDNS

Re: [Pdns-users] What signal to tell PDNS to shut down?

2019-01-13 Thread Brian Candler
On 13/01/2019 18:27, Nick Williams wrote: I’m working on a Docker container to run my PDNS Authoritative servers. I’m installing PDNS from repo.powerdns.com . The Docker command that is run in `pdns_server`. The `docker stop` command sends a `SIGTERM` to PID 1, waits

[Pdns-users] What signal to tell PDNS to shut down?

2019-01-13 Thread Nick Williams
I’m working on a Docker container to run my PDNS Authoritative servers. I’m installing PDNS from repo.powerdns.com . The Docker command that is run in `pdns_server`. The `docker stop` command sends a `SIGTERM` to PID 1, waits some amount of time, and then sends SIGKILL