Created
August 11, 2016 11:17
-
-
Save pdscopes/d08856b29c6c654ca390ed5cc72df58a to your computer and use it in GitHub Desktop.
Homebrew Rabbitmq plist
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 Computer//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>homebrew.mxcl.rabbitmq</string> | |
<key>Program</key> | |
<string>/usr/local/opt/rabbitmq/sbin/rabbitmq-server</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StandardOutPath</key> | |
<string>/usr/local/var/log/rabbitmq/rabbitmq.log</string> | |
<key>StandardErrorPath</key> | |
<string>/usr/local/var/log/rabbitmq/rabbitmq_err.log</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>HOME</key> | |
<string>/usr/local/var/lib/rabbitmq</string> | |
<!-- need erl in the path --> | |
<key>PATH</key> | |
<string>/usr/local/sbin:/usr/bin:/bin:/usr/local/bin</string> | |
<!-- specify the path to the rabbitmq-env.conf file --> | |
<key>CONF_ENV_FILE</key> | |
<string>/usr/local/etc/rabbitmq/rabbitmq-env.conf</string> | |
</dict> | |
</dict> | |
</plist> |
Added HOME
for when running plist as a /Library/LaunchDaemons
.
Remove for ~/Library/LaunchAgents
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added
StandoutOutPath
andStandardErrorPath
to allow to see the logs, can be removed if not wanted.