* Added a module "serv_mrtg" which allows activity reporting to MRTG
[citadel.git] / citadel / citserver.c
index 5aea06c2baef5bc0f72f6747ab1c4e9ecc7b39a2..322386d69c3e65b993d0d701178069def621ef1e 100644 (file)
@@ -65,6 +65,7 @@ struct CitContext *ContextList = NULL;
 char *unique_session_numbers;
 int ScheduledShutdown = 0;
 int do_defrag = 0;
+time_t server_startup_time;
 
 /*
  * Various things that need to be initialized at startup
@@ -72,6 +73,8 @@ int do_defrag = 0;
 void master_startup(void) {
        struct timeval tv;
        
+       time(&server_startup_time);
+       
        lprintf(9, "master_startup() started\n");
        lprintf(7, "Opening databases\n");
        open_databases();