Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shutdown



On 4/27/05 12:32 PM, Pascal Robert at email@hidden wrote:

>> Last time I checked, shutdown just kills processes - no shutdown items
>> are run, nor are the startup items called with 'stop'.  So, if you've
>> installed some database that needs to come down cleanly, do it
>> yourself before a shutdown.
> 
> And, IMHO, it should be the process' job of detecting the kill signal
> and closing itself in a clean way.

Actually, the KILL signal, by definition, can't be caught by the target
process.

The the target process should catch the appropriate signal that is sent to
the process initially, but I don't know which signal that is (probably is
TERM).  As well, if the process doesn't quit in a reasonable amount of
time, I believe the shutdown process then sends it a KILL signal, which
should terminate it.

For more info:
man kill

Later,
-- 
David Rehring                  Psychos do not explode when light hits
VP of Research and Development them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com                  And totally insane guy!


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Re: shutdown (From: Pascal Robert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.