LoginSignup
16
14

More than 5 years have passed since last update.

Mac にHomebrew で入れたソフトの自動起動設定

Posted at

redis 自動起動設定

$ cp /usr/local/Cellar/redis/3.0.0/homebrew.mxcl.redis.plist ~/Library/LaunchAgents/
$ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
$ launchctl start homebrew.mxcl.redis

postgresql 自動起動設定

$ cp /usr/local/Cellar/postgresql/9.4.5_2/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
$ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
$ launchctl start homebrew.mxcl.postgresql.plist
  • 以下、同じようにごちょごちょやればいいと思う

確認

$ launchctl list | grep homebrew
PID Status  Label
45114   0   homebrew.mxcl.elasticsearch17
43802   1   homebrew.mxcl.postgresql
43711   0   homebrew.mxcl.redis
44097   1   homebrew.mxcl.mysql
16
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
14