X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserver_main.c;h=f1b458e5a98ce2ac1fea353f8841d6ee3eab3b95;hp=10915b3c4ecfc5e626029f2d4c8de343de09c18f;hb=83f6f54ff172d43c9ab0fab87b10280d0c99ccec;hpb=45dec175706ba376d19f66d7eeac6f71b87ef810 diff --git a/citadel/server_main.c b/citadel/server_main.c index 10915b3c4..f1b458e5a 100644 --- a/citadel/server_main.c +++ b/citadel/server_main.c @@ -33,13 +33,9 @@ uid_t ctdluid = 0; const char *CitadelServiceUDS="citadel-UDS"; const char *CitadelServiceTCP="citadel-TCP"; - - - void go_threading(void); - /* * Create or remove a lock file, so we only have one Citadel Server running at a time. */ @@ -47,7 +43,6 @@ void ctdl_lockfile(int yo) { static char lockfilename[SIZ]; static FILE *fp; - if (yo) { syslog(LOG_DEBUG, "main: creating lockfile"); snprintf(lockfilename, sizeof lockfilename, "%s/citadel.lock", ctdl_run_dir); @@ -70,10 +65,6 @@ void ctdl_lockfile(int yo) { } - - - - /* * Here's where it all begins. */ @@ -216,15 +207,13 @@ int main(int argc, char **argv) } /* Tell 'em who's in da house */ - syslog(LOG_NOTICE, " "); - syslog(LOG_NOTICE, " "); - syslog(LOG_NOTICE, "*** Citadel server engine ***\n"); - syslog(LOG_NOTICE, "Version %d (build %s) ***", REV_LEVEL, svn_revision()); - syslog(LOG_NOTICE, "Copyright (C) 1987-2017 by the Citadel development team."); - syslog(LOG_NOTICE, "This program is distributed under the terms of the GNU " - "General Public License."); - syslog(LOG_NOTICE, " "); - syslog(LOG_DEBUG, "Called as: %s", argv[0]); + syslog(LOG_INFO, " "); + syslog(LOG_INFO, " "); + syslog(LOG_INFO, "*** Citadel server engine ***\n"); + syslog(LOG_INFO, "Version %d (build %s) ***", REV_LEVEL, svn_revision()); + syslog(LOG_INFO, "Copyright (C) 1987-2017 by the Citadel development team."); + syslog(LOG_INFO, "This program is distributed under the terms of the GNU General Public License."); + syslog(LOG_INFO, " "); syslog(LOG_INFO, "%s", libcitadel_version_string()); #ifdef HAVE_RUN_DIR