IT分からんわ~_~;

IT色々お勉強中のブログ

nginx の自動起動覚書

linuxの場合

sudo chkconfig --add nginx
sudo chkconfig nginx on

macの場合

cp /usr/local/Cellar/postgresql/9.5.0/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist