* fixed bug in the debian init script that would make 'restart' fail. tnx to DGEAPere...
authorWilfried Göesgens <willi@citadel.org>
Tue, 31 Jul 2007 20:42:44 +0000 (20:42 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 31 Jul 2007 20:42:44 +0000 (20:42 +0000)
webcit/debian/webcit.init

index 9f91937fa6dc5f783fffd5e0fc5cefd12a3b0fae..4d73c83aa7ecb769c8cc575ba62a694fe52c5696 100644 (file)
@@ -150,7 +150,8 @@ case "$1" in
        if test -n "$MODERN"; then
            case "$?" in
                0|1)
-                   do_start
+                   do_start $WEBCIT_HTTP_PORT $WEBCIT_CITADEL_IP $WEBCIT_CITADEL_PORT "" "$WEBCIT_APACHEFLAG"
+                   do_start $WEBCIT_HTTPS_PORT $WEBCIT_CITADEL_IP $WEBCIT_CITADEL_PORT -s  "$WEBCIT_APACHEFLAG"
                    case "$?" in
                        0) log_end_msg 0 ;;
                        1) log_end_msg 1 ;; # Old process is still running
@@ -163,7 +164,8 @@ case "$1" in
                    ;;
            esac
        else
-           do_start
+           do_start $WEBCIT_HTTP_PORT $WEBCIT_CITADEL_IP $WEBCIT_CITADEL_PORT "" "$WEBCIT_APACHEFLAG"
+           do_start $WEBCIT_HTTPS_PORT $WEBCIT_CITADEL_IP $WEBCIT_CITADEL_PORT -s  "$WEBCIT_APACHEFLAG"
        fi
        ;;
   *)