The following commit has been merged in the master branch: commit b364c411a7bc55e923992ff963203cbd01ec6d56 Author: Stephane Glondu <[EMAIL PROTECTED]> Date: Fri Oct 3 22:01:52 2008 +0200
Make configuration file explicit in init script) diff --git a/debian/ocsigen.init b/debian/ocsigen.init index b934245..5c523fb 100644 --- a/debian/ocsigen.init +++ b/debian/ocsigen.init @@ -19,12 +19,13 @@ DAEMON=/usr/bin/ocsigen NAME=ocsigen DESC=ocsigen PIDFILE=/var/run/$NAME.pid +DEFAULTFILE=/etc/default/ocsigen test -x $DAEMON || exit 0 # Include ocsigen defaults if available -if [ -f /etc/default/ocsigen ] ; then - . /etc/default/ocsigen +if [ -f $DEFAULTFILE ] ; then + . $DEFAULTFILE fi set -e @@ -32,7 +33,7 @@ set -e case "$1" in start|force-start) if [ "x$LAUNCH_AT_STARTUP" != "xtrue" ] && [ "x$1" = "xstart" ]; then - echo "Configuration file prevent $NAME to be started (use force-start)." + echo "$DEFAULTFILE prevents $NAME to be started (use force-start)." exit 0 fi -- ocsigen packaging _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits