You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Robert Chalmers <ra...@icloud.com> on 2014/11/25 17:02:44 UTC

plist file - Specially for OS X 10.10 Yosemite, and maybe other OSX's to start OM

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>

……………………………………………………………………………………………




Re: plist file - Specially for OS X 10.10 Yosemite, and maybe other OSX's to start OM

Posted by Maxim Solodovnik <so...@gmail.com>.
Published:
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Autostart+on+OS+X+10.10+Yosemite,+and+maybe+other+OSX
Please let me know if anything need to be changed

On Wed, Nov 26, 2014 at 10:25 AM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Thanks a lot
> Will add it to the documentation
>
> On Tue, Nov 25, 2014 at 10:02 PM, Robert Chalmers <ra...@icloud.com>
> 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
>



-- 
WBR
Maxim aka solomax

Re: plist file - Specially for OS X 10.10 Yosemite, and maybe other OSX's to start OM

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks a lot
Will add it to the documentation

On Tue, Nov 25, 2014 at 10:02 PM, Robert Chalmers <ra...@icloud.com>
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