From: Volker Lendecke Date: Tue, 3 Dec 2019 12:23:06 +0000 (+0100) Subject: smbd: Call reopen_logs() in the notifyd X-Git-Tag: ldb-2.1.0~377 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37fa97b20e30c13cd59f2a58f61d09a3ff761ac4;p=thirdparty%2Fsamba.git smbd: Call reopen_logs() in the notifyd If you have per-process logfiles with %d, the notifyd will get its own logfile Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/server.c b/source3/smbd/server.c index f96a42398ae..8fd4752ea45 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -433,6 +433,8 @@ static bool smbd_notifyd_init(struct messaging_context *msg, bool interactive, exit(1); } + reopen_logs(); + /* Set up sighup handler for notifyd */ se = tevent_add_signal(ev, ev,