/[Frey]/trunk/bin/dev.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/bin/dev.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 479 - (show annotations)
Thu Nov 20 14:24:13 2008 UTC (15 years, 4 months ago) by dpavlin
File MIME type: application/x-sh
File size: 242 byte(s)
check perl syntax on startup so we don't loop forever
starting server which has syntax error
1 #!/bin/sh
2
3 server=./bin/continuity-server.pl
4
5 perl -c $server || exit
6
7 dir=var/log
8 test -d $dir || mkdir -v $dir || exit
9
10 while true ; do
11 test -f log && mv -v log $dir/dev.`ls $dir/dev* | wc -l`
12 FREY_RESTART=1 $server 2>&1 | tee -a log
13 done
14

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26