X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=archive%2Ftest-server%2Ftest-server.init;h=5b0167afd464dc92abe23fd1ed91cc1b28cdd54b;hb=ecc0ec8f7c966c6566128351e46b5e0ba92d17d9;hp=d2f3e5816de8f02ca06fef4cc622ca76696d6fd6;hpb=8eca080103895012c9250c35c7a38254ac8afec5;p=ZOOM-Perl-moved-to-github.git diff --git a/archive/test-server/test-server.init b/archive/test-server/test-server.init index d2f3e58..5b0167a 100644 --- a/archive/test-server/test-server.init +++ b/archive/test-server/test-server.init @@ -1,11 +1,9 @@ #! /bin/sh -# $Id: test-server.init,v 1.2 2005-12-14 10:21:17 mike Exp $ -# # This is a startup/shutdown script for the ZOOM-Perl test-server, # suitable for use in a SysV-style init directory such as /etc/init.d # (on Debian systems) and /etc/rc.d/init.d (on Red Hat systems). This -# is configured to run on test.indexdata.com -- if you want to run it +# is configured to run on z3950.indexdata.com -- if you want to run it # somewhere else, you'll probably need to tweak it to suit your # system's paths. @@ -21,9 +19,8 @@ case "$1" in fi echo "Starting ZOOM-Perl test server" test -f $logfile && mv $logfile $logfile.old - ( cd /home/mike/universe/src/ZOOM-Perl/archive - ../../../bin/zebrasrv -c test-server.cfg @:2118 \ - > $logfile 2>&1 < /dev/null & + ( cd /home/mike/ZOOM-Perl/archive/test-server + zebrasrv-2.0 -c test-server.cfg @:2100 > $logfile 2>&1 < /dev/null & echo $! > $pidfile ) ;; @@ -41,6 +38,5 @@ case "$1" in ;; *) echo "Usage: $0 start|stop|restart" >&2 - exit 1 ;; esac