]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Call reopen_logs() in the notifyd
authorVolker Lendecke <vl@samba.org>
Tue, 3 Dec 2019 12:23:06 +0000 (13:23 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 9 Dec 2019 16:10:38 +0000 (16:10 +0000)
If you have per-process logfiles with %d, the notifyd will get its
own logfile

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/server.c

index f96a42398aeba1f4aea3893e9726db461f032f9e..8fd4752ea4557a7c3e29d238d312be8baa815b51 100644 (file)
@@ -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,