# launch control script for nginx on osx # place in /System/Library/LaunchDaemons/nginx.plist # then run "launchctl load -F /System/Library/LaunchDaemons/nginx.plist" Label nginx Program /opt/nginx/sbin/nginx KeepAlive NetworkState StandardErrorPath /var/log/system.log LaunchOnlyOnce