Created
June 22, 2010 18:54
-
-
Save bkonkle/448895 to your computer and use it in GitHub Desktop.
On-demand launchd plists for common web development daemons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>com.danga.memcached</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/memcached</string> | |
<string>-u</string> | |
<string>root</string> | |
<string>-p</string> | |
<string>11211</string> | |
<string>-m</string> | |
<string>64</string> | |
</array> | |
<key>OnDemand</key> | |
<true/> | |
</dict> | |
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>net.lighttpd</string> | |
<key>OnDemand</key> | |
<true/> | |
<key>Program</key> | |
<string>/usr/local/sbin/lighttpd</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/sbin/lighttpd</string> | |
<string>-f</string> | |
<string>/etc/lighttpd/lighttpd.conf</string> | |
<string>-D</string> | |
</array> | |
</dict> | |
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>org.postgresql.postmaster</string> | |
<key>OnDemand</key> | |
<true /> | |
<key>UserName</key> | |
<string>postgres</string> | |
<key>GroupName</key> | |
<string>postgres</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PGDATA</key> | |
<string>/usr/local/pgsql/data</string> | |
</dict> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/pgsql/bin/postmaster</string> | |
</array> | |
<key>StandardOutPath</key> | |
<string>/usr/local/pgsql/logfile</string> | |
<key>StandardErrorPath</key> | |
<string>/usr/local/pgsql/logfile</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment