Re: Launchd script question
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