Thanks a lot Will add it to the documentation On Tue, Nov 25, 2014 at 10:02 PM, Robert Chalmers <[email protected]> wrote:
> NOTE: Change the directories to suit your own user name. > note that this runs OM a user. Never run it as root. > > In this case /Users/robert <—— change that to what ever your user name is. > > Note that this also runs red5-highperf.sh ….. the options you see in this > are from that script. It’s much the same as the bog standard red5.sh, just > easier to put into a plist …. > > Get it up with the usual launchctl - like as in - > launchctl load -w /Library/LaunchAgents/org.openmeetings.plist > > and to stop it, unload it. > > I have a feeling that these commands are changing in Yosemite too, but it > works for the moment. :-) > > > > ………………… ~/Library/LaunchAgents/org.openmeetings.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>Disabled</key> > <false/> > <key>EnvironmentVariables</key> > <dict> > <key>JVM_OPTS</key> > <string>-Xmx1024m -Xms512m -Xss256k -XX:+AggressiveOpts > -XX:+DisableExplicitGC -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC > -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking > -XX:+UseStringCache -XX:+UseParNewGC -XX:SurvivorRatio=16 > -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 > -Djava.net.preferIPv4Stack=true -XX:InitialCodeCacheSize=8m > -XX:ReservedCodeCacheSize=32m > -Dorg.terracotta.quartz.skipUpdateCheck=true</string> > <key>RED5_HOME</key> > <string>/Users/robert/Openmeetings</string> > </dict> > <key>Label</key> > <string>org.openmeetings.plist</string> > <key>OnDemand</key> > <false/> > <key>Program</key> > <string>/Users/robert/Openmeetings/red5.sh</string> > <key>RunAtLoad</key> > <true/> > <key>StandardErrorPath</key> > <string>/Users/robert/log/openmeetings_plist_err.log</string> > <key>StandardOutPath</key> > <string>/Users/robert/log/openmeetings_plist.log</string> > </dict> > </plist> > > …………………………………………………………………………………………… > > > > -- WBR Maxim aka solomax
