Skip to content

Instantly share code, notes, and snippets.

@jacquesbh
Created July 13, 2012 06:29
Show Gist options
  • Save jacquesbh/3103133 to your computer and use it in GitHub Desktop.
Save jacquesbh/3103133 to your computer and use it in GitHub Desktop.
Launch daemon for apache2 on mac (in /System/Library/LaunchDaemons/)
<?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>fr.jacquesbh.apache2</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/apache2/bin/apachectl</string>
<string>start</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment