View | Details | Raw Unified | Return to bug 4108
Collapse All | Expand All

(-)b/daemon/daemon.c (-2 / +4 lines)
 Lines 662-668   daemon_fork(struct daemon* daemon) Link Here 
662
	log_info("start of service (%s).", PACKAGE_STRING);
662
	log_info("start of service (%s).", PACKAGE_STRING);
663
	worker_work(daemon->workers[0]);
663
	worker_work(daemon->workers[0]);
664
#ifdef HAVE_SYSTEMD
664
#ifdef HAVE_SYSTEMD
665
	sd_notify(0, "STOPPING=1");
665
	if (daemon->workers[0]->need_to_exit)
666
		sd_notify(0, "STOPPING=1");
667
	else
668
		sd_notify(0, "RELOADING=1");
666
#endif
669
#endif
667
	log_info("service stopped (%s).", PACKAGE_STRING);
670
	log_info("service stopped (%s).", PACKAGE_STRING);
668
671
669
- 

Return to bug 4108