aboutsummaryrefslogtreecommitdiff
path: root/eperd/eooqd.c
diff options
context:
space:
mode:
Diffstat (limited to 'eperd/eooqd.c')
-rw-r--r--eperd/eooqd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/eperd/eooqd.c b/eperd/eooqd.c
index 41efa1b..4f572b7 100644
--- a/eperd/eooqd.c
+++ b/eperd/eooqd.c
@@ -51,6 +51,7 @@ static struct builtin
} builtin_cmds[]=
{
{ "evhttpget", &httpget_ops },
+ { "evntp", &ntp_ops },
{ "evping", &ping_ops },
{ "evtdig", &tdig_ops },
{ "evsslgetcert", &sslgetcert_ops },
@@ -84,6 +85,7 @@ int eooqd_main(int argc, char *argv[])
char *pid_file_name;
struct event *checkQueueEvent, *rePostEvent;
struct timeval tv;
+ struct rlimit limit;
atlas_id= NULL;
pid_file_name= NULL;
@@ -122,6 +124,12 @@ int eooqd_main(int argc, char *argv[])
sizeof(state->curr_qfile));
strlcat(state->curr_qfile, SUFFIX, sizeof(state->curr_qfile));
+ signal(SIGQUIT, SIG_DFL);
+ chdir("/home/atlas/data");
+ limit.rlim_cur= RLIM_INFINITY;
+ limit.rlim_max= RLIM_INFINITY;
+ setrlimit(RLIMIT_CORE, &limit);
+
/* Create libevent event base */
EventBase= event_base_new();
if (!EventBase)