X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsetup.c;h=25690cee12f21c00b65167f6dbc61deef9739b2d;hb=275923e95ec5e974182ce1b2458b374906d4c646;hp=f1166e78cb86eb12d4756d262394dae956b931af;hpb=baa3aca94eeb9d4b5c833ef91cfcba0c6bc47fc9;p=citadel.git diff --git a/webcit/setup.c b/webcit/setup.c index f1166e78c..25690cee1 100644 --- a/webcit/setup.c +++ b/webcit/setup.c @@ -90,11 +90,11 @@ void delete_the_old_way(void) { strcpy(init_entry, ""); - /* Determine the fully qualified path name of webserver */ - snprintf(looking_for, sizeof looking_for, "%s/webserver ", setup_directory); + /* Determine the fully qualified path name of webcit */ + snprintf(looking_for, sizeof looking_for, "%s/webcit ", setup_directory); /* Pound through /etc/inittab line by line. Set have_entry to 1 if - * an entry is found which we believe starts webserver. + * an entry is found which we believe starts webcit. */ infp = fopen("/etc/inittab", "r"); if (infp == NULL) { @@ -461,7 +461,7 @@ void install_init_scripts(void) "case \"$1\" in\n" "\n" "start) echo -n \"Starting WebCit... \"\n" - " if $WEBCIT_DIR/webserver " + " if $WEBCIT_DIR/webcit " "-D/var/run/webcit.pid " "-p$HTTP_PORT $CTDL_HOSTNAME $CTDL_PORTNAME\n" " then\n" @@ -471,7 +471,7 @@ void install_init_scripts(void) " fi\n"); #ifdef HAVE_OPENSSL fprintf(fp, " echo -n \"Starting WebCit SSL... \"\n" - " if $WEBCIT_DIR/webserver " + " if $WEBCIT_DIR/webcit " "-D/var/run/webcit-ssl.pid " "-s -p$HTTPS_PORT $CTDL_HOSTNAME $CTDL_PORTNAME\n" " then\n"