Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (26 sloc) 0.661 kb
#!/bin/sh
# Interchange control script
# Calls Interchange with special locations of files as installed by RPM
# http://www.icdevgroup.org/
IC=/usr/lib/interchange
ETC=/etc
RUN=/var/run/interchange
LOG=/var/log/interchange
RUNSTRING="$IC/bin/interchange \
--unix \
-configfile $ETC/interchange.cfg \
-pidfile $RUN/interchange.pid \
-logfile $LOG/error.log \
ErrorFile=$LOG/error.log \
PIDfile=$RUN/interchange.pid \
-confdir $IC/etc \
-rundir $RUN \
SocketFile=$RUN/socket \
IPCsocket=$RUN/socket.ipc"
if test "`whoami`" = root
then
exec su - interch -c "PERL_SIGNALS=unsafe $RUNSTRING $*"
else
export PERL_SIGNALS=unsafe
exec $RUNSTRING $*
fi
Jump to Line
Something went wrong with that request. Please try again.