add systemd integration
[gd/samba-autobuild/.git] / source3 / nmbd / nmbd.c
index 80c2329b2de0d641b2c4859f303a65c10548ba57..c75f3b1063b198efdeed6787f54881c96756106f 100644 (file)
@@ -1097,6 +1097,10 @@ static bool open_sockets(bool isdaemon, int port)
                 exit(1);
         }
 
+       if (is_daemon && !opt_interactive) {
+               daemon_ready("nmbd");
+       }
+
        TALLOC_FREE(frame);
        process(msg);