community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1691786 - /comdev/reporter.apache.org/trunk/restart_scandist.sh
Date Sun, 19 Jul 2015 00:06:44 GMT
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



Mime
View raw message