(RADIATOR) Launching Radiator on OSX 10.4
Matt Richard
matt.richard at fandm.edu
Fri Sep 16 10:54:34 CDT 2005
Hello,
Apple introduced launchd in OSX 10.4 (Tiger) to handle system daemons.
http://developer.apple.com/macosx/launchd.html
I wrote a config file to launch radiator on a 10.4 system. Place the
contents below into a file called "au.com.open.radiator.plist" and
save this file in the folder "/Library/LaunchDaemons"/. This example
assumes that radius.cfg is your config file, and it's located in
/etc/radiator. But you can change that easily.
Radiator will be launched automatically at boot time and whenever
radiator dies or is killed.
To start the service, issue the following command in a terminal
window (as root):
launchctl load /Library/LaunchDaemons/au.com.open.radiator.plist
Top stop the service, use this command:
launchctl unload /Library/LaunchDaemons/au.com.open.radiator.plist
Here's the stuff. Feedback, etc appreciated. Enjoy!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>au.com.open.radiator</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/perl</string>
<string>/usr/bin/radiusd</string>
<string>config_file /etc/radiator/radius.cfg</string>
<string>pid_file /var/run/radiusd.pid</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>OnDemand</key>
<false/>
</dict>
</plist>
--
Matt Richard
Access and Security Coordinator
Computing Services
Franklin & Marshall College
matt.richard at fandm.edu
(717) 291-4157
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list