KDX MacUnix

August 28, 2006

Copy app to /Applications/KDXServer1600, try and run it. Define shares and link folders if necessary:

ln -s /my/shared/folder /Applications/KDXServer1600/Bases/Default/Downloads.

Create a LaunchDaemon (from haxial.com):

sudo nano /Library/LaunchDaemons/com.haxial.kdxserver.plist

<?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"> Label com.haxial.kdxerver ProgramArguments /Applications/KDXServer1600/KDXServer.command –bkgnd –nohup RunAtLoad

Load the daemon: $ launchctl load -w /Library/LaunchDaemons/com.haxial.kdxserver.plist $ launchctl start com.haxial.kdxserver

http://developer.apple.com/macosx/launchd.html man 5 launchd.plist