You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2016/03/31 22:54:01 UTC

svn commit: r1737285 - /uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/cron/autostart.sh

Author: degenaro
Date: Thu Mar 31 20:54:01 2016
New Revision: 1737285

URL: http://svn.apache.org/viewvc?rev=1737285&view=rev
Log:
UIMA-4632 uima-ducc-vm should autostart DUCC demo from crontab when OS system reboots

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/cron/autostart.sh

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/cron/autostart.sh
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/cron/autostart.sh?rev=1737285&r1=1737284&r2=1737285&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/cron/autostart.sh (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/cron/autostart.sh Thu Mar 31 20:54:01 2016
@@ -22,7 +22,7 @@ lc=`ps -elf | grep "components=or" | wc
 
 if [ $lc -lt 2 ]
 then
-        echo "DUCC is down...reboot!"
+        /bin/echo "DUCC is down...reboot!"
         /bin/echo "send e-mail"
         /bin/echo "Subject: uima-ducc-demo reboot!" | /usr/sbin/sendmail lou.degenaro@gmail.com
         /bin/echo "killall -9 java python service"
@@ -47,6 +47,6 @@ then
         /bin/echo "start workload manager"
         cd ~/ducc/install/examples/uima-ducc-vm/driver
         ./driver_start >/dev/null 2>&1
-else
-        echo "DUCC is running"
+#else
+#        /bin/echo "DUCC is running"
 fi