Having trouble configuring homebrew to run pure-ftpd as a service I am trying to run pure-ftpd 1.0.46 as a service and have configured my plist file as below:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
  &lt;dict&gt;
    &lt;key&gt;KeepAlive&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;Label&lt;/key&gt;
    &lt;string&gt;homebrew.mxcl.pure-ftpd&lt;/string&gt;
    &lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
      &lt;string&gt;/usr/local/opt/pure-ftpd/sbin/pure-ftpd&lt;/string&gt;
      &lt;string&gt;-A&lt;/string&gt;
      &lt;string&gt;-E&lt;/string&gt;
      &lt;string&gt;-j&lt;/string&gt;
      &lt;string&gt;-z&lt;/string&gt;
      &lt;string&gt;-l&lt;/string&gt;
      &lt;string&gt;puredb:/usr/local/etc/pureftpd.pdb&lt;/string&gt;
      &lt;string&gt;-I&lt;/string&gt;
      &lt;string&gt;1&lt;/string&gt;
      &lt;string&gt;-c&lt;/string&gt;
      &lt;string&gt;1000&lt;/string&gt;
    &lt;/array&gt;
    &lt;key&gt;RunAtLoad&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;WorkingDirectory&lt;/key&gt;
    &lt;string&gt;/usr/local/var&lt;/string&gt;
    &lt;key&gt;StandardErrorPath&lt;/key&gt;
    &lt;string&gt;/usr/local/var/log/pure-ftpd.log&lt;/string&gt;
    &lt;key&gt;StandardOutPath&lt;/key&gt;
    &lt;string&gt;/usr/local/var/log/pure-ftpd.log&lt;/string&gt;
  &lt;/dict&gt;
&lt;/plist&gt;


However, I find that whenever I try running as a service it logs the following errors.

pure-ftpd: invalid option --
pure-ftpd: unrecognized option `--j -z'
Unable to start a standalone server: Permission denied

Can anyone identify an error I've made in my plist file?

I tried to confirm it matched the example in SirPavlovas answer provided here : Getting launchd to read program arguments correctly
For anyone having this trouble or similar, use the command line plutil to get feedback on what the plist file problems are (e.g. line numbers). In my case the copy from the Confluence page I used to document the install guide inserted broken whitespace characters, invisible to the naked eye but affecting launchd.