[ic] Fedora startup script for IC 5.x
Russell Mann
tech at khouse.org
Thu Apr 22 17:37:14 EDT 2004
Hello,
Would anyone be kind enough to share their /etc/rc.d/init.d/interchange
file, possibly from an RPM install, that works on Fedora 1?
Thanks,
Russell
I'm getting this type of thing:
[root at localhost init.d]# ./interchange start
Starting Interchange: execvp: No such file or directory
[FAILED]
The one I'm *trying* to use now looks like this:
#!/bin/sh
#
# Run control script for Interchange
# http://interchange.redhat.com/
#
# chkconfig: 345 96 4
# description: Interchange is a database access and HTML templating system
focused on ecommerce
# processname: interchange
# pidfile: /var/run/interchange/interchange.pid
# config: /etc/interchange.cfg
# config: /var/lib/interchange/*/catalog.cfg
# Source function library.
. /etc/rc.d/init.d/functions
# See how we were called.
case "$1" in
start)
echo -n "Starting Interchange: "
daemon interchange -q
echo
touch /var/lock/subsys/interchange
;;
stop)
echo -n "Shutting down Interchange: "
killproc interchange
echo
rm -f /var/lock/subsys/interchange
rm -f /var/run/interchange/interchange.pid
;;
status)
status interchange
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit 0
More information about the interchange-users
mailing list