* Added a 'restart' option to the init scripts
authorArt Cancro <ajc@citadel.org>
Fri, 1 Dec 2006 04:21:33 +0000 (04:21 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 1 Dec 2006 04:21:33 +0000 (04:21 +0000)
* Version number is now 6.90 (beta)

webcit/setup.c
webcit/webcit.h

index 34981e4c78a17ba0be249314efc4d91d58c90364..189036fc01b38b32b257318105f452cf617a0eaa 100644 (file)
@@ -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"
index 4aef6ac85daa42981c229ed348c2f04bc6ee9780..4fd908bbca7fcc62041890ccff86e65c005b7546 100644 (file)
@@ -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 */