Created
March 24, 2011 10:47
-
-
Save jimeh/884869 to your computer and use it in GitHub Desktop.
Mac OS X launchctl plist for Homebrew-based RabbitMQ installations. Place in: ~/Library/LaunchAgents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>com.rabbitmq.rabbitmq-server</string> | |
<key>Program</key> | |
<string>/usr/local/sbin/rabbitmq-server</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/sbin:/usr/bin:/bin:/usr/local/bin</string> | |
</dict> | |
<key>WorkingDirectory</key> | |
<string>/usr/local/var</string> | |
</dict> | |
</plist> |
@Aarpy that is very useful thanks. But it does not behave the same as I usually do with sudo (sudo rabbitmq-server
). Any idea why?
sudo brew services start rabbitmq
doesn't work either.
And performing ps aux | grep rabbit
doesn't show any processes when using the brew commands, only when I do sudo rabbitmq-server
.
Tracking issue Homebrew/homebrew-core#17446
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Aarpy
thanks for this. I was on the same boat scratching my head where the plist are found