[Seaside] How to start an image with PORT parameter

Randal L. Schwartz merlyn at stonehenge.com
Sun Jul 26 22:58:45 UTC 2009


>>>>> "Mariano" == Mariano Martinez Peck <marianopeck at gmail.com> writes:

>> 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!
>> 

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

kill -15 $PID || exit 0
sleep 2
kill -2 $PID || exit 0
sleep 2
kill -1 $PID || exit 0
sleep 2
kill -9 $PID || exit 0

-- 
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


More information about the seaside mailing list