I've created the following plist, installed it as
com.subversion.svnserve.plist in /Library/LaunchDaemons as user root:wheel
<?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>com.subversion.svnserve</string>
<key><Program></key>
<string>/usr/bin/svnserve</string>
<key>ProgramArguments</key>
<array>
<string>-i</string>
<string>-r /Users/subversion/repos</string>
</array>
<key><UserName></key>
<string>subversion</string>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
</dict>
</plist>
But when I try to install it using launchctl I get the following:
bash-3.2# launchctl load
/Library/LaunchDaemons/com.subversion.svnserve.plist
launchctl: propertyList is NULL
launchctl: no plist was returned for:
/Library/LaunchDaemons/com.subversion.svnserve.plist
launchctl: no plist was returned for:
/Library/LaunchDaemons/com.subversion.svnserve.plist
nothing found to load
bash-3.2#
Can anyone spot what I'm doing wrong?
Thanks,
Jim
Received on 2008-07-20 16:58:42 CEST