There's an echo in my head

日々のメモ。

homebrewで入れたnginxをlaunchctlで80番ポートで起動する

$ sudo su -
# ln -s /usr/local/opt/nginx/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
# launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist

LaunchDaemonsとLaunchAgentsの使い分けってどうなってるんだろう。

このブログに出てくるコードスニペッツは、引用あるいは断りがない限りMITライセンスです。