syslog(LOG_DEBUG, "master_startup() started\n");
time(&server_startup_time);
- get_config();
- validate_config();
syslog(LOG_INFO, "Checking directory access");
if ((pw = getpwuid(CTDLUID)) == NULL) {
/*
* Read and write the citadel.config file
*
- * Copyright (c) 1987-2014 by the citadel.org team
+ * Copyright (c) 1987-2015 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
configlen.c_pager_program = strlen(config.c_pager_program);
}
+
+
/*
- * get_config() is called during the initialization of Citadel server.
+ * Called during the initialization of Citadel server.
* It verifies the system's integrity and reads citadel.config into memory.
*/
void get_config(void) {
/* Load site-specific configuration */
syslog(LOG_INFO, "Loading citadel.config");
get_config();
+ validate_config();
/* get_control() MUST MUST MUST be called BEFORE the databases are opened!! */
syslog(LOG_INFO, "Acquiring control record");