You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/07/30 21:14:35 UTC
[Cassandra Wiki] Update of "RunningCassandra" by AJoslin103
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "RunningCassandra" page has been changed by AJoslin103.
The comment on this change is: added a .plist file to launch on startup on Mac OS X.
http://wiki.apache.org/cassandra/RunningCassandra?action=diff&rev1=13&rev2=14
--------------------------------------------------
See also [[Operations]]
+
+ ( startup file for Cassandra on Mac OS X 10.6.x )
+
+ {{{
+
+ $ cat /System/Library/LaunchDaemons/org.apache.cassandra.plist
+
+ <?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>Label</key>
+ <string>org.apache.cassandra</string>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>Disabled</key>
+ <false/>
+ <key>GroupName</key>
+ <string>wheel</string>
+ <key>UserName</key>
+ <string>root</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/opt/local/bin/cassandra</string>
+ <string>-f</string>
+ </array>
+ <key>KeepAlive</key>
+ <true/>
+ <key>StandardErrorPath</key>
+ <string>/opt/local/var/log/cassandra/stderr.log</string>
+ <key>StandardOutPath</key>
+ <string>/opt/local/var/log/cassandra/stdout.log</string>
+ </dict>
+ </plist>
+
+ }}}
+