diff options
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c index 01732135c..726f7fe00 100644 --- a/src/worker.c +++ b/src/worker.c @@ -35,6 +35,7 @@ #include "url.h" #include "modules.h" #include "message.h" +#include "map.h" #include <evdns.h> @@ -367,6 +368,9 @@ start_worker (struct rspamd_worker *worker) event_set(&worker->bind_ev, worker->cf->listen_sock, EV_READ | EV_PERSIST, accept_socket, (void *)worker); event_add(&worker->bind_ev, NULL); + /* Maps events */ + start_map_watch (); + /* Send SIGUSR2 to parent */ kill (getppid (), SIGUSR2); |