Skip to content

Instantly share code, notes, and snippets.

@tchap
Last active March 2, 2016 13:02
Show Gist options
  • Save tchap/4547220 to your computer and use it in GitHub Desktop.
Save tchap/4547220 to your computer and use it in GitHub Desktop.
Launchd plist for Pure-FTPd
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.pure-ftpd.ftp.plist</string>
<key>Program</key>
<string>/usr/local/sbin/pure-ftpd</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/sbin/pure-ftpd</string>
<string>-e</string>
<string>-M</string>
<string>-x</string>
</array>
<key>Disabled</key>
<false/>
<key>KeepAlive</key>
<dict>
<key>NetworkState</key>
<true/>
</dict>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>Bonjour</key>
<true/>
<key>SockServiceName</key>
<string>ftp</string>
<key>SockType</key>
<string>stream</string>
</dict>
</dict>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
<key>UserName</key>
<string>root</string>
<key>GroupName</key>
<string>root</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment