Permalink
Browse files

merged changes 2.1 vs 2.1.2.1

+++ 2.1.2.1 +++
preparation to finally use storable
  • Loading branch information...
1 parent 200523a commit 9301d3014df48721e8b36ac1d805f51229093e59 @racke racke committed Jun 2, 2002
Showing with 6 additions and 1 deletion.
  1. +6 −1 debian/interchange.wrapper
View
7 debian/interchange.wrapper
@@ -1,8 +1,13 @@
#! /bin/sh -e
+# source configuration file with defaults
+if [ -f /etc/default/interchange ]; then
+ . /etc/default/interchange
+fi
+
. /etc/interchange/init.cfg
OPTS="SocketFile=/var/run/interchange/interchange.sock IPCsocket=/var/run/interchange/interchange.sock.ipc PIDfile=/var/run/interchange/interchange.pid --pidfile=/var/run/interchange/interchange.pid --log=/var/log/interchange/error.log --rundir=/var/run/interchange"
-CMD="/usr/lib/interchange/bin/interchange $OPTS $@"
+CMD="env MINIVEND_STORABLE=$USE_STORABLE /usr/lib/interchange/bin/interchange $OPTS $@"
if [ "$UID" -eq 0 ]; then
su -s /bin/sh -c "$CMD" $USER
else

0 comments on commit 9301d30

Please sign in to comment.