[Seaside] [Q] Running headless (squeak, not me)
avi at beta4.com
Thu Apr 10 11:46:31 CEST 2003
On Thu, 10 Apr 2003, Brian Brown wrote:
> Also, is it okay to 'kill' a headless image and expect it to be okay when you
> restart it? (not -9, but a normal kill signal).
Even kill -9 should be fine. The image file isn't modified unless you
explicitly send a #snapshot:andQuit: message to Smalltalk, and most code
doesn't do this. Just like if you kill -9 a C program you don't expect
the executable to be corrupted.
It's slightly more likely that you would screw up the .changes file, and I
have managed to do this on occasion, but that's less of a tragedy.
Just a thought on your earlier lock up - was the .changes file present, or
just an image? Depending on how the prefs are set, it will stop during
startup and warn you that the changes file is missing, which does mean
that it never gets around to starting the server.
More information about the Seaside