Re: [Flightgear-devel] terrasync follies

2010-01-17 Thread Durk Talsma
Hi John, On Monday 07 December 2009 11:54:25 pm John Denker wrote: I patched terrasync to make it more usable, more like a proper daemon -- writes pid to file -- normally does not exit until signalled -- uses blocking and non-blocking I/O as appropriate. This is now committed to CVS. If

Re: [Flightgear-devel] terrasync follies

2009-12-07 Thread John Denker
I patched terrasync to make it more usable, more like a proper daemon -- writes pid to file -- normally does not exit until signalled -- uses blocking and non-blocking I/O as appropriate. http://gitorious.org/~jsd/fg/sport-model/commits/sport Usage example: pid=$(cat $pidfile 2/dev/null) if

Re: [Flightgear-devel] terrasync follies

2009-12-07 Thread Roland
Very nice. :) I have always used this before: // Startup code nice -n 19 terrasync -p ${PORT} -s ${SOURCE} -d ${FG_HOME}/Scenery/ ${FG_HOME}/terrasync.log 21 /// // Stop code after usage killall terrasync rsync sleep 1 killall terrasync rsync /// On Mon, 2009-12-07 at