Question:

How do I set RLM to run automatically at startup on a MAC?   There used to be a script that was added to /Library/StartupItems/TecplotLM when RLM was installed that would run RLM at startup, but that script no longer exists.

Answer:

Adding that script to /Library/StartupItems/TecplotLM was one of the things our DMG installer did on MACs, but that installer no longer exists so neither does the script.

In order to set RLM to run automatically at startup, you will need to create a “plist” file.  Plist files are read by “launchd” at startup and control how daemons and system services are run. Here is an example of a plist file that can run RLM on startup:

<?xml version=”1.0″ encoding=”UTF-8″?>
http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
        <key>label</key>
        <string>com.tecplot.rlm/string>
        <key>Program</key>
        <string>/Applications/Tecplot/RLM/rlm</string>
        <key>ProgramArguments</key>
        <array>
                <string>-c</string>
                <string>tecplotlm.lic</string>
                <string>-dlog</string>
                <string>debug.log</string>
        </array>
        <key>KeepAlive</key>
        <boolean>true</boolean>
        <key>RunAtLoad</key>
        <boolean>true</boolean>
</dict>
</plist>
You will need to replace “/Applications/Tecplot/RLM/rlm” (in bold above)with the path where you installed the RLM server.  Then save this file as “com.tecplot.rlm.plist” in the /Library/LaunchAgents folder. RLM will now start automatically when the server is restarted.

 

 

Share →