View | Details | Raw Unified | Return to bug 2641 | Differences between
and this patch

Collapse All | Expand All

(-)openssh-7.2p2/sshd.c (+4 lines)
Lines 337-342 sighup_handler(int sig) Link Here
337
static void
337
static void
338
sighup_restart(void)
338
sighup_restart(void)
339
{
339
{
340
#ifdef HAVE_SYSTEMD
341
		/* Signal systemd that we are reloading */
342
		sd_notify(0, "RELOADING=1");
343
#endif
340
	logit("Received SIGHUP; restarting.");
344
	logit("Received SIGHUP; restarting.");
341
	platform_pre_restart();
345
	platform_pre_restart();
342
	close_listen_socks();
346
	close_listen_socks();

Return to bug 2641