* -d to daemonize, -D to daemonize with specifying
[citadel.git] / webcit / setup.c
index 8022ca0d271839995f307110f200d5d1b497d0f2..136892f6a10ed0d50e720113f9edc2e523abaf4d 100644 (file)
@@ -310,7 +310,7 @@ void progress(char *text, long int curr, long int cmax)
 
 
 /*
- * install_init_scripts()  -- Make sure "webserver" is in /etc/inittab
+ * install_init_scripts()  -- Create and deploy SysV init scripts.
  *
  */
 void install_init_scripts(void)
@@ -399,7 +399,7 @@ void install_init_scripts(void)
                        "\n"
                        "start)         echo -n \"Starting WebCit... \"\n"
                        "               if   $WEBCIT_DIR/webserver "
-                                                       "-d/var/run/webcit.pid "
+                                                       "-D/var/run/webcit.pid "
                                                        "-t/dev/null "
                                                        "-p$HTTP_PORT $CTDL_HOSTNAME $CTDL_PORTNAME\n"
                        "               then\n"
@@ -410,7 +410,7 @@ void install_init_scripts(void)
 #ifdef HAVE_OPENSSL
        fprintf(fp,     "               echo -n \"Starting WebCit SSL... \"\n"
                        "               if  $WEBCIT_DIR/webserver "
-                                                       "-d/var/run/webcit-ssl.pid "
+                                                       "-D/var/run/webcit-ssl.pid "
                                                        "-t/dev/null "
                                                        "-s -p$HTTPS_PORT $CTDL_HOSTNAME $CTDL_PORTNAME\n"
                        "               then\n"