projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[irspy-moved-to-github.git]
/
zebra
/
init-script
diff --git
a/zebra/init-script
b/zebra/init-script
index
3f38112
..
658013e
100755
(executable)
--- a/
zebra/init-script
+++ b/
zebra/init-script
@@
-20,6
+20,8
@@
pidfile=/var/run/irspy-zebra.pid
case "`hostname`" in
nigiri | xeno | rafa | test) IRSPYDIR=/usr/local/src/git/irspy/;;
shawarma|kafta) IRSPYDIR=/home/mike/cvs/irspy/;;
case "`hostname`" in
nigiri | xeno | rafa | test) IRSPYDIR=/usr/local/src/git/irspy/;;
shawarma|kafta) IRSPYDIR=/home/mike/cvs/irspy/;;
+ berwick ) IRSPYDIR=/home/indexdata/irspy/ ;;
+
your-development-machine )
IRSPYDIR=/home/foobar/indexdata/irspy/
logfile=$IRSPYDIR/irspy-zebra
your-development-machine )
IRSPYDIR=/home/foobar/indexdata/irspy/
logfile=$IRSPYDIR/irspy-zebra
@@
-39,7
+41,7
@@
case "$1" in
# Let log rotation take care of backups
#test -f $logfile && mv -f $logfile $logfile.old
( cd $IRSPYDIR/zebra
# Let log rotation take care of backups
#test -f $logfile && mv -f $logfile $logfile.old
( cd $IRSPYDIR/zebra
- zebrasrv-2.0 -f yazserver.xml < /dev/null >> $logfile 2>&1 &
+ zebrasrv-2.0 -f $(pwd)/yazserver.xml < /dev/null >> $logfile 2>&1 &
echo $! > $pidfile
)
;;
echo $! > $pidfile
)
;;