Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 16 lines (13 sloc) 0.584 kb
b31a690 @jonjensen Move DEV_4_7_0 development branch to repository trunk.
jonjensen authored
1 #! /bin/sh -e
2
9301d30 @racke merged changes 2.1 vs 2.1.2.1
racke authored
3 # source configuration file with defaults
4 if [ -f /etc/default/interchange ]; then
5 . /etc/default/interchange
6 fi
7
b31a690 @jonjensen Move DEV_4_7_0 development branch to repository trunk.
jonjensen authored
8 . /etc/interchange/init.cfg
563afce @racke seems that the wrapper needs both PIDfile= and --pidfile
racke authored
9 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"
9301d30 @racke merged changes 2.1 vs 2.1.2.1
racke authored
10 CMD="env MINIVEND_STORABLE=$USE_STORABLE /usr/lib/interchange/bin/interchange $OPTS $@"
b31a690 @jonjensen Move DEV_4_7_0 development branch to repository trunk.
jonjensen authored
11 if [ "$UID" -eq 0 ]; then
12 su -s /bin/sh -c "$CMD" $USER
13 else
14 $CMD
15 fi
Something went wrong with that request. Please try again.