<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>That's pretty cool. Otherwise, you'd probably have to do a redirect.<div><br></div><div>RS<br><br><div>> Date: Fri, 2 Aug 2013 09:55:57 -0700<br>> From: pdebruic@gmail.com<br>> To: seaside@lists.squeakfoundation.org<br>> Subject: Re: [Seaside] RE: Starting VM on demand from nginx<br>> <br>> I don't know how to do what you want from nginx and am interested in<br>> learning about it. Have you read these threads?<br>> <br>> http://forum.world.st/Unix-socket-plugin-patch-for-systemd-td4685021.html#a4685101<br>> <br>> http://forum.world.st/Unix-socket-plugin-patch-for-systemd-td4684997.html#a4685004<br>> <br>> <br>> Seems like with that patch you could just get it set up to have nginx<br>> route the request to<br>> <br>> http://mySubdomain.myDomain.com<br>> <br>> to the backend it expects to be there and systemd will take care of<br>> getting the image running<br>> <br>> <br>> <br>> <br>> <br>> On 08/02/2013 09:45 AM, Dave wrote:<br>> > Robert Sirois wrote<br>> >> Here's my supervisor config file if it helps (http://supervisord.org/)<br>> >> [program:programname]command=/usr/local/coglinux/bin/squeak -mmap 256m<br>> >> -vm-sound-null -vm-display-null<br>> >> webapp/imagename.imagedirectory=/var/www/programdirectory/user=someonegroup=somegroup<br>> > <br>> > <br>> > Hi Robert,<br>> > Thanks for your config files, I never used supervisor, anyway I can't<br>> > understand how to start the VM when a user goes to a specific url. I guess<br>> > there should be a command on nginx that allows to start a script on behalf<br>> > of a request. Right?<br>> > <br>> > Dave<br>> > <br>> > <br>> > <br>> > --<br>> > View this message in context: http://forum.world.st/Starting-VM-on-demand-from-nginx-tp4701949p4701960.html<br>> > Sent from the Seaside General mailing list archive at Nabble.com.<br>> > _______________________________________________<br>> > seaside mailing list<br>> > seaside@lists.squeakfoundation.org<br>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>> > <br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside@lists.squeakfoundation.org<br>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></div>                                            </div></body>
</html>