]> code.citadel.org Git - citadel.git/blobdiff - webcit/debian/webcit.init
* evaluate the return of fgets() to silence some warnings
[citadel.git] / webcit / debian / webcit.init
index e237ac867bd3097569637405443b50800686751f..6403d015e7f665c1143ad9df69a469bd0b059411 100644 (file)
 #                    placed in /etc/init.d.
 ### END INIT INFO
 
+# uncomment this to create coredumps as described in
+# http://www.citadel.org/doku.php/faq:mastering_your_os:gdb#how.do.i.make.my.system.produce.core-files
+# ulimit -c unlimited
+
 # Author: Wilfried Goesgens <citadel@outgesourced.org>
 RUNDIR=/var/run/webcit
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
@@ -53,9 +57,6 @@ unset LANG
 unset LANGUAGE
 unset LC_ALL
 unset LOCALE
-if test -n "$WEBCIT_LANG" -a "$WEBCIT_LANG" != "UNLIMITED"; then
-    export LANG=$WEBCIT_LANG
-fi 
 
 if test -z "$TZ"; then
        if test -e /etc/timezone; then
@@ -112,7 +113,8 @@ do_stop()
 
 do_reload() {
         do_stop
-        do_start
+       do_start $WEBCIT_HTTP_PORT $WEBCIT_CITADEL_IP $WEBCIT_CITADEL_PORT "" "$LISTEN"  "$WEBCIT_APACHEFLAG"
+       do_start $WEBCIT_HTTPS_PORT $WEBCIT_CITADEL_IP $WEBCIT_CITADEL_PORT -s "$LISTEN"  "$WEBCIT_APACHEFLAG"
        return 0
 }