X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver.h;h=323f999f448669e0cb8786f26da0528982ac8fb0;hb=0047043f803e4fade3cb26b5b1d13ed40ca75ebb;hp=fa424e4606310948c3660397a72f167d3b146845;hpb=31159b4fd0b03b5367db90710b843ed62c7ad471;p=citadel.git diff --git a/citadel/server.h b/citadel/server.h index fa424e460..323f999f4 100644 --- a/citadel/server.h +++ b/citadel/server.h @@ -31,6 +31,21 @@ struct CtdlMessage { #define CM_SKIP_HOOKS 0x01 /* Don't run server-side handlers */ + +/* + * Exit codes 101 through 109 are used for conditions in which + * we deliberately do NOT want the service to automatically + * restart. + */ +#define CTDLEXIT_CONFIG 101 /* Could not read citadel.config */ +#define CTDLEXIT_CONTROL 102 /* Could not acquire lock */ +#define CTDLEXIT_HOME 103 /* Citadel home directory not found */ +#define CTDLEXIT_OOD 104 /* Out Of Date config - rerun setup */ +#define CTDLEXIT_DB 105 /* Unable to initialize database */ + + + + /* * Here's the big one... the Citadel context structure. *