Commit 98cc961c authored by Leigh B. Stoller's avatar Leigh B. Stoller

Commit a change to the startcmd section (done while in Florida) that

mentions you need to restart the event system to fire off the start
command again.

Currently, you cannot name the startcmd in a tevc command cause its
name is unknown. Something to do with how objects are renamed in the
parser and that they are not done below top level (inside a
subroutine). Not sure how you get around that.
parent e79f83f8
......@@ -757,7 +757,8 @@ be unpacked in, all separated by spaces.
<h3>Starting your application automatically</h3>
You can start your application automatically when your nodes boot by
You can start your application automatically when your nodes boot for
the first time (experiment is started or swapped in) by
using the <tt>tb-set-node-startcmd</tt> NS extension. The argument is
a command string (pathname of a script or program, plus arguments)
that is run as the <tt>UID</tt> of the experiment creator, after the
......@@ -799,7 +800,16 @@ The start command is implemented using
<a href="docwrapper.php3?docname=advanced.html#ProgramObjects">
Program Objects</a>, which are described in more detail in the
<a href="docwrapper.php3?docname=advanced.html">
Advanced Tutorial.</a>
Advanced Tutorial.</a> Note that the start command is run only when
the experiment is swapped in. If you want to rerun the experiment, you
can swap the experiment out and back in, or you can reboot all of the
nodes in your experiment. If rebooting, you must fire off the program
object yourself by restarting the
<a href="docwrapper.php3?docname=advanced.html">Event System</a>
on <tt></tt>:
eventsys_control replay &lt;pid&gt &lt;eid&gt </code></pre>
<li> <a NAME="SyncServer"></a>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment