projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa5e07e
)
change logdir to ../log, which should be a symlink to /var/log/irspy
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 17 Jun 2010 21:25:36 +0000
(21:25 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 17 Jun 2010 21:25:36 +0000
(21:25 +0000)
bin/irspy-update.sh
patch
|
blob
|
history
diff --git
a/bin/irspy-update.sh
b/bin/irspy-update.sh
index
5113d50
..
1c03eb7
100755
(executable)
--- a/
bin/irspy-update.sh
+++ b/
bin/irspy-update.sh
@@
-7,10
+7,12
@@
home=/usr/local/src/git
cd $home/irspy/bin || exit 2
-logdir=../tmp
-lockfile=../tmp/irspy-update.lock
+logdir=../log
+lockfile=$logdir/irspy-update.lock
: ${irspy_test=Main}
+mkdir -p $logdir || exit2
+
if [ -f $lockfile ]; then
pid=`cat $lockfile`
if kill -0 $pid 2>/dev/null; then