Stop squeak running in background?

Laurent Cocea lcocea at gmail.com
Fri Sep 24 14:57:10 UTC 2004


Thanks Giovanni. Is your code available and can you provide an actual
example of how to invoke the action by curl or wget? I could use it as
a workaround until the solution you proposed is discussed and
hopefully implemented; I assume other squeak users might be
interested, too.

--Laurent


On Fri, 24 Sep 2004 14:08:27 +0200, Giovanni Giorgi <jj at objectsroot.com> wrote:
> Laurent Cocea ha scritto  in data 23/09/2004 20.00:
> 
> >[...]
> >
> >  squeak -nosound -nodisplay &
> >
> >What is the best way to stop squeak in this case? I can use `killall
> >squeak', or just open the System Monitor and end or kill the process.
> >But could this approach result in data loss or corruption? Is there a
> >"preferred" way to stop squeak when running w/o a GUI?
> >
> >
> Hem....yes the preferred way is to execute something like
>     Smalltalk snapshot: true andQuit: true.
> Some year ago I have done a special PWS Wiki action that can do this
> thing when invoked by curl or wget.
> This is not so much secure because someone can "guess" the url and shut
> down your service.
> 
>     The best way should be to trigger a special process when a unix
> signal is received, but we should change the JVM to do that.
> Some ideas?



More information about the Squeak-dev mailing list