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
add a dump target for doing a full dump of the IRSpy database as tarball
[irspy-moved-to-github.git]
/
zebra
/
init-script
diff --git
a/zebra/init-script
b/zebra/init-script
index
9d295e4
..
db71a91
100755
(executable)
--- a/
zebra/init-script
+++ b/
zebra/init-script
@@
-1,6
+1,5
@@
#! /bin/sh
#! /bin/sh
-# $Id: init-script,v 1.7 2007-03-23 09:30:31 mike Exp $
#
# This is a startup/shutdown script for IRSpy's Zebra server, suitable
# for use in a SysV-style init directory such as /etc/init.d (on
#
# This is a startup/shutdown script for IRSpy's Zebra server, suitable
# for use in a SysV-style init directory such as /etc/init.d (on
@@
-19,8
+18,13
@@
logfile=/var/log/irspy-zebra
pidfile=/var/run/irspy-zebra.pid
case "`hostname`" in
pidfile=/var/run/irspy-zebra.pid
case "`hostname`" in
- xeno|rafa|test) IRSPYDIR=/usr/local/src/cvs/irspy/;;
+ nigiri | xeno | rafa | test) IRSPYDIR=/usr/local/src/cvs/irspy/;;
shawarma|kafta) IRSPYDIR=/home/mike/cvs/irspy/;;
shawarma|kafta) IRSPYDIR=/home/mike/cvs/irspy/;;
+ your-development-machine )
+ IRSPYDIR=/home/foobar/indexdata/irspy/
+ logfile=$IRSPYDIR/irspy-zebra
+ pidfile=$IRSPYDIR/irspy-zebra.pid
+ ;;
*) echo "$0: unsupported host `hostname`" >&2
exit 1;;
esac
*) echo "$0: unsupported host `hostname`" >&2
exit 1;;
esac
@@
-55,3
+59,4
@@
case "$1" in
echo "Usage: $0 start|stop|restart" >&2
;;
esac
echo "Usage: $0 start|stop|restart" >&2
;;
esac
+