You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2015/07/19 02:06:44 UTC

svn commit: r1691786 - /comdev/reporter.apache.org/trunk/restart_scandist.sh

Author: sebb
Date: Sun Jul 19 00:06:44 2015
New Revision: 1691786

URL: http://svn.apache.org/r1691786
Log:
Ensure old backups are preseved

Modified:
    comdev/reporter.apache.org/trunk/restart_scandist.sh

Modified: comdev/reporter.apache.org/trunk/restart_scandist.sh
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/restart_scandist.sh?rev=1691786&r1=1691785&r2=1691786&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/restart_scandist.sh (original)
+++ comdev/reporter.apache.org/trunk/restart_scandist.sh Sun Jul 19 00:06:44 2015
@@ -2,5 +2,5 @@
 # TODO: this should really be integrated into system startup
 
 pkill -u root -f "scandist.py foreground"
-mv nohup.out nohup.out.$(date -Idate)
+mv --backup=numbered nohup.out nohup.out.$(date -Idate)
 nohup python -u scandist.py foreground &
\ No newline at end of file