OT: shutdown items
OT: shutdown items
- Subject: OT: shutdown items
- From: Andreas Mayer <email@hidden>
- Date: Mon, 14 Oct 2002 23:00:46 +0200
Am Montag, 14.10.02 um 02:48 Uhr schrieb Andrew Pinski:
Actually most startup items support stop message, I do not think
it is implemented right now to call the startup items in reverse
order when restarting/shutting down.
Look at SystemStarter(8) for more information on that.
It is my impression, that the stop methods are not (yet) called at
system shutdown.
Look at this post from omni's macosx-admin list:
----
Scott Ribe scott_ribe at killerbytes.com
Fri Jun 28 12:58:01 2002
Previous message: PWD and other error oddities
Next message: cleanly shutting down services
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Wow! I wish I had read the following:
> Currently, the start argument is always supplied, as startup items
are only
> executed at system startup. Apple reserves the right to modify
SystemStarter
> to
> invoke startup items at other times with other arguments. For
example, startup
> items could be executed at system shutdown with an argument of stop.
before I killed half a day trying to figure out why the stop portion of
my
startup item was not working correctly.
Now the question is, how the heck do I cleanly shutdown a process? The
specific issue I'm trying to solve is to shut down postgres cleanly,
but in
general how do I run a cleanup task at shutdown?
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
----
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.