• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Launchd script question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launchd script question


  • Subject: Re: Launchd script question
  • From: Dave Zarzycki <email@hidden>
  • Date: Fri, 11 Jan 2008 14:02:35 -0800

You'll need to talk to the team that maintains the tun/tap software and find out what APIs they vend to monitor (and perhaps interact with) the lifecycle of tun/tap. Once you find out those APIs, change your script to consume those APIs as appropriate.

davez


On Jan 11, 2008, at 1:59 PM, Andre-John Mas wrote:

Hi,

I have written a launchd configuration for Aiccu (IPv6 tunneling software):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd ">
<plist version="1.0">
<dict>
<key>Label</key>
<string>net.sixxs.Aiccu</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/aiccu</string>
<string>start</string>
<string>/etc/aiccu.conf</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>


I have just noticed that nowhere do I indicate a dependency requirement on tun/tap and this script is only to be runatload, to avoid reconnecting when the program fails. What should I do to ensure that this is only run once tun/tap is available?

Andre

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Launchd script question (From: Andre-John Mas <email@hidden>)

  • Prev by Date: Launchd script question
  • Next by Date: Re: Re: Launchd script question
  • Previous by thread: Launchd script question
  • Next by thread: Re: Re: Launchd script question
  • Index(es):
    • Date
    • Thread