Commit 401af170 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Renamed ramkomd to lyskomd.

parent 8000a83d
......@@ -8,18 +8,22 @@
#include <config.h>
#include <m-config.h>
static char *rcsid = "$Id: server-config.c,v 0.10 1991/08/30 07:07:38 ceder Exp $";
static char *rcsid = "$Id: server-config.c,v 0.11 1991/09/13 20:21:51 ceder Exp $";
/* Where to save things. These are used by ramkomd. */
/* Where to save things. These are used by lyskomd and dbck. */
const char * DEFAULT_DBASE_DIR = "/usr/lyskom"; /* Changed with -D flag. */
/*
* DEFAULT_DBASE_DIR can be overriden by giving -Ddir to lyskomd or dbck.
*/
const char * DEFAULT_DBASE_DIR = "/usr/lyskom";
const char *DATAFILE_NAME = "db/ramkomd-data";
const char *BACKUPFILE_NAME = "db/ramkomd-backup";
const char *TEXTFILE_NAME = "db/ramkomd-texts";
const char *STATISTIC_NAME = "etc/ramkomd-logg";
const char *DATAFILE_NAME = "db/lyskomd-data";
const char *BACKUPFILE_NAME = "db/lyskomd-backup";
const char *TEXTFILE_NAME = "db/lyskomd-texts";
const char *STATISTIC_NAME = "etc/lyskomd-log";
const char *PID_NAME = "etc/pid";
const char *MEMUSE_NAME = "etc/memory-usage";
......@@ -44,10 +48,11 @@ const int GARBTIMEOUT = 100; /* Timeout to select() when garbing texts
const int SYNCTIMEOUT = 10; /* Timeout to select() when syncing. */
/* Times in minutes. */
const int GARB_INTERVAL = 60*24; /* Once a day. */
const int SYNC_INTERVAL = 30; /* 30 = Twice per hour. */
const int GARB_INTERVAL = 60*24; /* Minutes between deletion of
expired texts. */
const int SYNC_INTERVAL = 30; /* Minutes between sync. */
const int SYNC_RETRY_INTERVAL = 5; /* 5 = Wait 5 minutes and retry after
an error. */
an error while writing to disk. */
/* String limits */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment