Failed to start subversion using Launchctl

I try to use Launchctl to start the svnserve process, but I always get the error message: "no plist was returned for: /Library/LaunchAgents/org.tigris.subversion.svnserve.plist". Here svnserve is / opt / local / bin / svnserve and this is a plist file Any thoughts what might be wrong here?

<dict>
  <key>Disabled</key>
  <false/>
  <key>Label</key>
  <string>org.tigris.subversion.svnserve</string>
  <key>ProgramArguments</key>
  <array>
      <string>/opt/local/bin/svnserve</string>
      <string>--inetd</string>
      <string>--root=/Users/Sunit/Repositories</string>
  </array>
  <key>ServiceDescription</key>
  <string>SVN Version Control System/string>
  <key>Sockets</key>
  <dict>
    <key>Listeners</key>
    <array>
      <dict>
        <key>SockFamily</key>
        <string>IPv4</string>
        <key>SockServiceName</key>
        <string>svn</string>
        <key>SockType</key>
        <string>stream</string>
      </dict>
      <dict>
        <key>SockFamily</key>
        <string>IPv6</string>
        <key>SockServiceName</key>
        <string>svn</string>
        <key>SockType</key>
        <string>stream</string>
      </dict>
    </array>
  </dict>
+3
source share
1 answer

This file is not valid XML - you do not close the tag <string>on line 13 correctly, and you never close the external tag <dict>.

plutil -lint , Xcode .

+18

Source: https://habr.com/ru/post/1707165/


All Articles