On Jul 20, 2008, at 09:58, Jim Anderson wrote:
> 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>
Use "Program", not "<Program>"
> <string>/usr/bin/svnserve</string>
> <key>ProgramArguments</key>
> <array>
> <string>-i</string>
> <string>-r /Users/subversion/repos</string>
> </array>
> <key><UserName></key>
Use "UserName", not "<UserName>"
> <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?
It's more a question of how to write launchd plists, of course, which
the members of this list probably aren't experts on. I can't get
svnserve to start, even making the above changes. But I'm not a
launchd plist expert either. :) Consult "man launchd.plist" or a Mac
OS X mailing list.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-21 04:51:42 CEST