[Seaside] How to start an image with PORT parameter

Mariano Martinez Peck marianopeck at gmail.com
Sun Jul 26 22:47:19 UTC 2009


2009/7/26 Randal L. Schwartz <merlyn at stonehenge.com>

> >>>>> "Miguel" == Miguel Enrique Cobá Martinez <miguel.coba at gmail.com>
> writes:
>
> Miguel> miguel at laptop:~$ kill -9 `cat evince.pid `
>
> No no no.  Don't use kill -9.
>
> It doesn't give the process a chance to cleanly:
>
> 1) release IPC resources (shared memory, semaphores, message queues)
>
> 2) clean up temp files
>
> 3) inform its children that it is going away
>
> 4) reset its terminal characteristics
>
> and so on and so on and so on.
>
> Generally, send 15 (SIGTERM), and wait a second or two, and if that
> doesn't work, send 2 (SIGINT), and if that doesn't work, send 1
> (SIGHUP).  If that doesn't, REMOVE THE BINARY because the program is
> badly behaved!
>

Ok.....but how can I do this from a script ?

Thanks!

Mariano


>
> Don't use kill -9.  Don't bring out the combine harvester just to tidy
> up the flower pot.
>
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside
> discussion
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090726/d9fee5de/attachment.htm


More information about the seaside mailing list