Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
OS X custom Apache launch daemon (/Library/LaunchDaemons/).
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
# unloading current apache (system)
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
sudo chown root:wheel /Library/LaunchDaemons/
# loading our custom apache
sudo launchctl load -w /Library/LaunchDaemons/

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment