* make no Cookie Template point to local dir, for prefixed installs
authorWilfried Göesgens <willi@citadel.org>
Fri, 29 Dec 2006 10:18:14 +0000 (10:18 +0000)
committerWilfried Göesgens <willi@citadel.org>
Fri, 29 Dec 2006 10:18:14 +0000 (10:18 +0000)
* use -D

webcit/debian/webcit.init
webcit/static/nocookies.html

index c8a8726217d9fc69fcb50646acb18dbd19d8fe0d..a9b0f1b9576dc4f04322a70108bcbe0ad327d47e 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 ### BEGIN INIT INFO
-# Provides:          skeleton
+# Provides:          webcit
 # Required-Start:    $local_fs $remote_fs
 # Required-Stop:     $local_fs $remote_fs
 # Default-Start:     2 3 4 5
 #                    placed in /etc/init.d.
 ### END INIT INFO
 
-# Author: Foo Bar <foobar@baz.org>
-#
-# Please remove the "Author" lines above and replace them
-# with your own name if you copy and modify this script.
-
-# Do NOT "set -e"
-
-# PATH should only include /usr/* if it runs after the mountnfs.sh script
+# Author: Wilfried Goesgens <citadel@outgesourced.org>
 RUNDIR=/var/run/webcit
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="Citadel Groupware Webserver "
@@ -89,7 +82,7 @@ do_start()
        #   0 if daemon has been started
        #   1 if daemon was already running
        #   2 if daemon could not be started
-       if $DAEMON -d$PIDFILE.$1 \
+       if $DAEMON -D$PIDFILE.$1 \
            -p$@ -t$LOGDIR/access.${1}.log ; then
            return 0
        else
index 55bf4b436318242d1a50189a9d294f61a645ab2f..2c0aea59d6b202c005b77fc8d5095c949485cce5 100644 (file)
@@ -12,7 +12,7 @@ Please enable these features and log in again.  We are sorry for the inconvenien
 </div>
 
 <div align="center">
-<a href="/">Back to login...</a>
+<a href=".">Back to login...</a>
 </div>
 
 </body>