/*
- * Copyright (C) 1997-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1997-2009 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
#include <signal.h>
#include <dirent.h>
+#include <sys/time.h>
#include "para.h"
#include "error.h"
parse_config(0);
log_welcome("para_server", conf.loglevel_arg);
shm_init(); /* init mmd struct */
+ /* make sure, the global now pointer is uptodate */
+ gettimeofday(now, NULL);
server_uptime(UPTIME_SET); /* reset server uptime */
init_user_list(user_list_file);
/* become daemon */