| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Dec 08, 2010
Posts: 1
![]() |
I'm trying to find a solution to halt an application during the shutdown process. It appears that launchd does not support signals trapped from shutdown.
I have Snow Leopard (10.6.x), on it I have VMWare and one of its instances is a Linux VM running Oracle 11g (there currently is no distribution for Mac OS X). I have scripts to pause the VM and I'd like to find a way to pause the system during a shutdown. I have found a couple of very crude solutions, namely a launchd daemon that pings itself, when network dies then run shutdown. For several reasons this solution is not ideal, here are a few issues: 1. It unnecessarily consumes a minor bit of network bandwidth, 2. It waits until the network is dead, thus it effectively runs much later than I'd like. 3. Its sensitivity is dependant upon how fast you repeatedly test (sample) ping. Does Mac OSX Server do this differently? Is there something akin to /sbin/init.d/Kxxxxx or /etc/init.d/<script> that can get called? Is there another distribution to launchd with this functionality? Thanks in Advance! |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Applications folder confusion | strawberry | Apple Desktops | 2 | 09-01-2010 03:54 AM |
| applications shutting down--moved countries? | goheenee | OS X - Apps and Games | 1 | 09-14-2009 01:08 PM |
| Change in default "open with" applications revert back after reboot | kousik | OS X - Apps and Games | 3 | 05-07-2009 04:10 AM |
| iTunes Mobile Applications folder. | oOoiMacoOo | iOS and Apps | 0 | 08-05-2008 10:56 PM |
| Applications showing up as volumes? | oinkydoodle | Switcher Hangout | 5 | 08-13-2005 02:15 PM |
All times are GMT -4. The time now is 09:01 AM.
Powered by vBulletin