<br><br><div class="gmail_quote">2009/7/15 Miguel Enrique Cobá Martinez <span dir="ltr">&lt;<a href="mailto:miguel.coba@gmail.com">miguel.coba@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El mié, 15-07-2009 a las 17:57 -0300, Germán Arduino escribió:<br>
<div class="im">&gt; Tried, but don&#39;t works.<br>
&gt;<br>
&gt; I got the same error.<br>
&gt;<br>
<br>
</div>I use this script to start a magma image an serveral seaside images:<br>
<br>
#!/bin/sh<br>
<br>
NOHUP=&quot;/usr/bin/nohup&quot;<br>
SQUEAK_VM=&quot;/usr/bin/squeakvm&quot;<br>
SQUEAK_OPTS=&quot;-mmap 100m -vm-sound-null -vm-display-X11 -headless&quot;<br>
SQUEAK=&quot;$SQUEAK_VM $SQUEAK_OPTS&quot;<br>
IMAGES_HOME=&quot;/home/miguel/squeak/images/azteca&quot;<br>
SCRIPTS_HOME=&quot;/home/miguel/squeak/scripts/azteca&quot;<br>
LOGS_HOME=&quot;/home/miguel/squeak/logs/azteca&quot;<br>
START_PORT=8080<br>
END_PORT=8093<br>
<br>
<br>
# Start the Magma image<br>
echo &quot;Starting Magma image&quot;<br>
$NOHUP $SQUEAK $IMAGES_HOME/magma.image $SCRIPTS_HOME/<a href="http://magma.st" target="_blank">magma.st</a> &gt;&gt;<br>
$LOGS_HOME/magma.nohup &amp;<br>
<br>
# Start the Seaside images<br>
for PORT in `seq $START_PORT $END_PORT`; do<br>
  echo &quot;Starting Seaside image on port: $port&quot;<br>
  $NOHUP $SQUEAK $IMAGES_HOME/seaside.image $SCRIPTS_HOME/<a href="http://seaside.st" target="_blank">seaside.st</a><br>
</blockquote><div><br><br>Sorry for the offtopic, what I have a question: is there a simple way to kill what you started with nohup?<br>I mean, I have a similar script to yours called &quot;startApp.sh&quot; but I want to do another called &quot;stopApp.sh&quot;.<br>
The only way I saw to do this is to do a killall squeak but I don&#39;t know...what happens if I have more than one vm/image ?<br><br>Thanks,<br><br>Mariano<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
port $PORT &gt;&gt; $LOGS_HOME/seaside.nohup &amp;<br>
done<br>
<br>
<br>
check the order of the parameters that stablish the port for the seaside<br>
image.<br>
<div><div></div><div class="h5"><br>
&gt; Cheers.<br>
&gt; Germán.<br>
&gt;<br>
&gt; 2009/7/15, Philippe Marschall &lt;<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>&gt;:<br>
&gt; &gt; 2009/7/14, Germán Arduino &lt;<a href="mailto:garduino@gmail.com">garduino@gmail.com</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi:<br>
&gt; &gt;  &gt;<br>
&gt; &gt;  &gt; As far as I saw on some doc it&#39;s possible to start a seaside image in<br>
&gt; &gt;  &gt; the way: &quot;squeakvm seaside.image PORT nnnn&quot;. Then, as WAKom check this<br>
&gt; &gt;  &gt; parameter on its #startUp method, is posible to have it running on the<br>
&gt; &gt;  &gt; passed port.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Try:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;  squeakvm seaside.image -- PORT nnnn<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Squeak is a bit peculiar when it comes to command line arguments.<br>
&gt; &gt;<br>
&gt; &gt;  Cheers<br>
&gt; &gt;  Philippe<br>
&gt; &gt;  _______________________________________________<br>
&gt; &gt;  seaside mailing list<br>
&gt; &gt;  <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; &gt;  <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>