You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The following script can be used to run a Mac OS X license server at system startup:

 <!---------------------------------------------------------------------------------------------
LM-X License Server Mac OS X Daemon Configuration
Copyright (C) 2002-2011 X-Formation. All rights reserved.

This configuration file lets you run lmx-serv automatically upon system startup.

----------------------------------- Setting access rights -------------------------------------
This file must be placed in the /System/Library/LaunchDaemons/ directory. All files used by
the license server (licenses, logfile, configuration file, server executable) must be
accessible for the 'daemon' user. General privileges can be set to 755 using chmod, as follows:
chmod -R 755 /usr/x-formation
The owner and group for the license server executable must have sufficient rights to run it,
which you can set using the commands chown and chgrp.
---------------------------------------------------------------------------------------------->
        
<?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>com.xformation.lmx</string>

    <key>ProgramArguments</key>
    <array>
        <!----------- Setting variables for the system ----------->
        <!-- Configure the following variables for your system: -->
        
        <!-- Set the path to the license server binary  -->
        <string>/usr/x-formation/lmx-serv-vendor</string>
        <string>-b</string>
        <!-- Set the path to the license server config file  -->
        <string>-c</string>
        <string>/usr/x-formation/lmx-serv.cfg </string>
        <!-- Set the path to the license file  -->
        <string>-l</string>
        <string>/usr/x-formation/network.lic </string>
        <!-- Set the path to the license server logfile -->
        <string>-lf</string>
        <string>/usr/x-formation/lmx-serv-vendor.log</string>
        <!-- Set the TCP/UDP port number the license server will listen on -->
        <string>-p</string>
        <string>6200</string>
    </array>

    <key>RunAtLoad</key>
    <true/>

    <key>UserName</key>
    <string>daemon</string>

    <key>GroupName</key>
    <string>daemon</string>
    </dict>
</plist>
  • No labels