From: Art Cancro Date: Fri, 1 Dec 2006 04:21:33 +0000 (+0000) Subject: * Added a 'restart' option to the init scripts X-Git-Tag: v7.86~3818 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=12a3f55faac5ae0629dba54de0de46137b37c44d;p=citadel.git * Added a 'restart' option to the init scripts * Version number is now 6.90 (beta) --- diff --git a/webcit/setup.c b/webcit/setup.c index 34981e4c7..189036fc0 100644 --- a/webcit/setup.c +++ b/webcit/setup.c @@ -556,7 +556,10 @@ void install_init_scripts(void) " rm -f /var/run/webcit-ssl.pid 2>/dev/null\n"); #endif fprintf(fp, " ;;\n" - "*) echo \"Usage: $0 {start|stop}\"\n" + "restart) $0 stop\n" + " $0 start\n" + " ;;\n" + "*) echo \"Usage: $0 {start|stop|restart}\"\n" " exit 1\n" " ;;\n" "esac\n" diff --git a/webcit/webcit.h b/webcit/webcit.h index 4aef6ac85..4fd908bbc 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -122,11 +122,11 @@ extern locale_t wc_locales[]; #define SLEEPING 180 /* TCP connection timeout */ #define WEBCIT_TIMEOUT 900 /* WebCit session timeout */ #define PORT_NUM 2000 /* port number to listen on */ -#define SERVER "WebCit v6.84" /* who's in da house */ +#define SERVER "WebCit v6.90 (beta)" /* who's in da house */ #define DEVELOPER_ID 0 #define CLIENT_ID 4 -#define CLIENT_VERSION 684 /* This version of WebCit */ -#define MINIMUM_CIT_VERSION 684 /* min required Citadel ver. */ +#define CLIENT_VERSION 690 /* This version of WebCit */ +#define MINIMUM_CIT_VERSION 690 /* min required Citadel ver. */ #define DEFAULT_HOST "localhost" /* Default Citadel server */ #define DEFAULT_PORT "504" #define LB (1) /* Internal escape chars */