community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1691730 - /comdev/reporter.apache.org/trunk/restart_scandist.sh
Date Sat, 18 Jul 2015 14:01:57 GMT
Author: sebb
Date: Sat Jul 18 14:01:57 2015
New Revision: 1691730

URL: http://svn.apache.org/r1691730
Log:
Add temporary restart script

Added:
    comdev/reporter.apache.org/trunk/restart_scandist.sh   (with props)

Added: comdev/reporter.apache.org/trunk/restart_scandist.sh
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/restart_scandist.sh?rev=1691730&view=auto
==============================================================================
--- comdev/reporter.apache.org/trunk/restart_scandist.sh (added)
+++ comdev/reporter.apache.org/trunk/restart_scandist.sh Sat Jul 18 14:01:57 2015
@@ -0,0 +1,6 @@
+# Restart scandist as a nohup process
+# TODO: this should really be integrated into system startup
+
+pkill -u root -f "scandist.py foreground"
+mv nohup.out nohup.out.$(date -Idate)
+nohup python -u scandist.py foreground &
\ No newline at end of file

Propchange: comdev/reporter.apache.org/trunk/restart_scandist.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: comdev/reporter.apache.org/trunk/restart_scandist.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message