[or-cvs] [metrics-web/master] Add --no-save switch to Rserve start script.

karsten at torproject.org karsten at torproject.org
Mon Jan 31 13:31:07 UTC 2011


commit a1ecb962beffa936d50a5f63d54bb84f0ebb7e72
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Jan 31 14:29:36 2011 +0100

    Add --no-save switch to Rserve start script.
    
    R requires the --no-save switch when run non-interactively.  This is why
    Rserve didn't survive a server reboot so far.  Now it should.
---
 rserve/start.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rserve/start.sh b/rserve/start.sh
index 403b298..0979817 100755
--- a/rserve/start.sh
+++ b/rserve/start.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 dir=`pwd`
-R CMD /home/metrics/R/x86_64-pc-linux-gnu-library/2.11/Rserve/libs/Rserve-bin.so --RS-conf $dir/Rserv.conf >> rserve.log 2>&1
+R CMD /home/metrics/R/x86_64-pc-linux-gnu-library/2.11/Rserve/libs/Rserve-bin.so --no-save --RS-conf $dir/Rserv.conf >> rserve.log 2>&1



More information about the tor-commits mailing list