Created
July 11, 2012 09:15
-
-
Save romanr/3089219 to your computer and use it in GitHub Desktop.
Homebrew activemq launchDaemon script
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.apache.activemq</string> | |
<key>WorkingDirectory</key> | |
<string>/usr/local/Cellar/activemq/5.5.1/libexec</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/local/bin/daemondo</string> | |
<string>--label=activemq</string> | |
<string>--start-cmd</string> | |
<string>/usr/local/Cellar/activemq/5.5.1/libexec/bin/macosx/activemq</string> | |
<string>start</string> | |
<string>;</string> | |
<string>--stop-cmd</string> | |
<string>/usr/local/Cellar/activemq/5.5.1/libexec/bin/macosx/activemq</string> | |
<string>stop</string> | |
<string>;</string> | |
<string>--restart-cmd</string> | |
<string>/usr/local/Cellar/activemq/5.5.1/libexec/bin/macosx/activemq</string> | |
<string>restart</string> | |
<string>;</string> | |
<string>--pid=none</string> | |
</array> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo launchctl load /Library/LaunchDaemons/com.apache.activemq.plist
sudo launchctl start com.apache.activemq
/usr/local/Cellar/activemq/5.5.1/libexec/bin/macosx/activemq start