/[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 481 - (show annotations)
Thu Nov 20 15:22:36 2008 UTC (15 years, 5 months ago) by dpavlin
File MIME type: application/x-sh
File size: 241 byte(s)
check syntax on every restart to catch syntax errors introduced
after server is started
1 #!/bin/sh
2
3 server=./bin/continuity-server.pl
4
5 dir=var/log
6 test -d $dir || mkdir -v $dir || exit
7
8 while true ; do
9 perl -c $server || exit
10 test -f log && mv -v log $dir/dev.`ls $dir/dev* | wc -l`
11 FREY_RESTART=1 $server 2>&1 | tee -a log
12 done
13

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26