mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
- #4108: systemd reload hang fix.
git-svn-id: file:///svn/unbound/trunk@4747 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
8c044a616b
commit
5106ad7a2c
2 changed files with 7 additions and 1 deletions
|
|
@ -662,7 +662,10 @@ daemon_fork(struct daemon* daemon)
|
||||||
log_info("start of service (%s).", PACKAGE_STRING);
|
log_info("start of service (%s).", PACKAGE_STRING);
|
||||||
worker_work(daemon->workers[0]);
|
worker_work(daemon->workers[0]);
|
||||||
#ifdef HAVE_SYSTEMD
|
#ifdef HAVE_SYSTEMD
|
||||||
|
if (daemon->workers[0]->need_to_exit)
|
||||||
sd_notify(0, "STOPPING=1");
|
sd_notify(0, "STOPPING=1");
|
||||||
|
else
|
||||||
|
sd_notify(0, "RELOADING=1");
|
||||||
#endif
|
#endif
|
||||||
log_info("service stopped (%s).", PACKAGE_STRING);
|
log_info("service stopped (%s).", PACKAGE_STRING);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
21 June 2018: Wouter
|
||||||
|
- #4108: systemd reload hang fix.
|
||||||
|
|
||||||
19 June 2018: Wouter
|
19 June 2018: Wouter
|
||||||
- Fix for unbound-control on Windows and set TCP socket parameters
|
- Fix for unbound-control on Windows and set TCP socket parameters
|
||||||
more closely.
|
more closely.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue