Yes, don't forget no-quit

My starting file for Seaside is:

#!/bin/sh
USER="www-data"
VM="/usr/bin/pharo"
VM_PARAMS="--mmap 256m -vm-sound-null -vm-display-null"
IMAGE="/opt/myApp/Pharo3.0.image"

exec \
        setuidgid "$USER" \
        "$VM" $VM_PARAMS "$IMAGE" \
        --no-quit

Olivier ;-)

2015-01-21 12:14 GMT+01:00 Esteban Lorenzano <esteba...@gmail.com>:

>
> > On 21 Jan 2015, at 10:31, nacho <0800na...@gmail.com> wrote:
> >
> > philippeback wrote
> >> why running pharo with a squeakvm?
> >>
> >> I do it, in my Raspberry Pi :p and its slowwww
> >>
> >>
> >> I am runnin headless with PharoVM here.
> >>
> >> Your vm params look like weird.
> >>
> >> I'll give you a copy of my CLI when I have access to my Pc.
> >>
> >> Phil
> >> Le 21 janv. 2015 03:59, "sergio_101" &lt;
> >
> >> sergio.rrd@
> >
> >> &gt; a écrit :
> >>
> >>> #!/bin/bash
> >>>
> >>> # settings
> >>> USER="badgesoup"
> >>> VM="/usr/lib/squeak/4.10.2-2614/squeakvm"
> >>> VM_PARAMS="-mmap 256m -vm-sound-null -vm-display-null"
> >>> IMAGE="/home/badgesoup/badgesoup_image/Pharo3.0.image"
> >>>
> >>> # start the vm
> >>> exec \
> >>>    setuidgid "$USER" \
> >>>    "$VM" $VM_PARAMS "$IMAGE"
> >>>
> >>> On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo <
> >>>
> >
> >> emaringolo@
> >
> >>> wrote:
> >>>
> >>>> What is in the 'run' file?
> >>>>
> >>>> Esteban A. Maringolo
> >>>>
> >>>>
> >>>> 2015-01-20 23:26 GMT-03:00 sergio_101 &lt;
> >
> >> sergio.rrd@
> >
> >> &gt;:
> >>>>> i am ready to put my seaside app online, and am finding that all the
> >>>>> information i am finding is outdated.
>
> where are you looking for such information?
>
> >>>>>
> >>>>> I am running the latest Pharo (as of last night), and ubuntu14.04.
> >>>>>
> >>>>> when i try to run using squeakvm, i get:
> >>>>>
> >>>>> $ sudo ./run
> >>>>> 'Your VM is too old for this image. Please download the latest VM.'
> >>>>> 'Pharo cannot locate the sources file named
> >>>>> /usr/lib/squeak/4.10.2-2614/PharoV30.sources.
> >>>>>
> >>>>> Please check that the file is named properly and is in the
> >>>>> same directory as this image.'
> >>>>> A PharoCommandLineHandler is xxxxxxxxx.
> >>>>>
> >>>>> everywhere i look, the information seems several years old..
> >>>>>
> >>>>> ideas? thanks!
>
> you should not use it a squeak vm with pharo ;)
> why would you do that?
>
> Esteban
>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >
> >
> >
> >
> >
> > -----
> > Nacho
> > Smalltalker apprentice.
> > Buenos Aires, Argentina.
> > --
> > View this message in context:
> http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html
> > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> >
>
>
>

Reply via email to