<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,9 +19,29 @@ then
     echo &quot;    stop - stop the OSP cluster&quot;
     echo &quot;    stats - print some information about the running cluster&quot;
     echo &quot;    webadmin - opens the web based administration system&quot;
+    echo &quot;    app_start &lt;appname&gt; &lt;port&gt; &lt;node&gt; - Starts appname on node&quot;
+    echo &quot;    app_stop &lt;appname&gt; &lt;node&gt; - Stops appname on node&quot;
     exit 0
 fi
 
+if [ ${1} == &quot;app_start&quot; ]; then
+    if [ $# -eq 4 ]; then
+	RET=`echo &quot;start ${2} ${3} ${4}&quot; | nc localhost 9876`
+	exit 0
+    fi
+    echo &quot;Invalid number of arguments, format is app_start &lt;appname&gt; &lt;port&gt; &lt;node&gt;&quot;
+    exit -1
+fi
+
+if [ ${1} == &quot;app_stop&quot; ]; then
+    if [ $# -eq 3 ]; then
+	RET=`echo &quot;stop ${2} ${3}&quot; | nc localhost 9876`
+	exit 0
+    fi
+    echo &quot;Invalid number of arguments, format is app_stop &lt;appname&gt; &lt;node&gt;&quot;
+    exit -1
+fi
+
 if [ ${1} == &quot;webadmin&quot; ]; then
     xdg-open http://localhost:9877
     exit 0</diff>
      <filename>bin/osp_ctl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2dd56c401e4a26960a32f0208334b4fe52155ab5</id>
    </parent>
  </parents>
  <author>
    <name>Jacob Torrey</name>
    <email>torreyji@clarkson.edu</email>
  </author>
  <url>http://github.com/ranok/open-server-platform/commit/fa708bf8f1c8e1022f4e5ff17719ee9fb273d29e</url>
  <id>fa708bf8f1c8e1022f4e5ff17719ee9fb273d29e</id>
  <committed-date>2009-11-07T06:03:22-08:00</committed-date>
  <authored-date>2009-11-07T06:03:22-08:00</authored-date>
  <message>Added the start of start/stop application functionality</message>
  <tree>f4fb478efe7823940930221ad9bb865637e92d23</tree>
  <committer>
    <name>Jacob Torrey</name>
    <email>torreyji@clarkson.edu</email>
  </committer>
</commit>
