COMSOL Multiphysics® Installation Guide > License Manager Installation on OS X > Starting the License Manager

Starting the License Manager
Either start the license manager manually or let it run automatically at startup.
starting the license manager manually
To start the license manager manually:
1
2
Change directory to the license/maci64 directory:
cd /Applications/COMSOL52a/Multiphysics/license/maci64
3
./lmgrd -c ../license.dat -l /var/tmp/comsol52a.log
The server is now ready to distribute licenses over the network. It writes any debug information to the log file /var/tmp/comsol52a.log.
starting the license manager automatically at startup
By following these steps, the license manager does not need to be started manually:
1
Copy the template file com.comsol.lmcomsol.plist to /Library/LaunchDaemons. An example:
sudo cp /Applications/COMSOL52a/Multiphysics/license/maci64/com.comsol.lmcomsol.plist /Library/LaunchDaemons/
Typically, the template file must be edited: the lmgrd and license.dat paths should be updated, and a user different from root specified for running the service.
2
Open the file /Library/LaunchDaemons/com.comsol.lmcomsol.plist in a text editor, for example, TextEdit, and make the necessary edits.
3
sudo chmod 600 /Library/LaunchDaemons/com.comsol.lmcomsol.plist
4
sudo launchctl load -w /Library/LaunchDaemons/com.comsol.lmcomsol.plist
The following commands provide an example of an uninstallation of the daemon:
sudo launchctl unload -w /Library/LaunchDaemons/com.comsol.lmcomsol.plist
sudo launchctl remove /Library/LaunchDaemons/com.comsol.lmcomsol.plist
sudo rm -rf /Library/LaunchDaemons/com.comsol.lmcomsol.plist
rm /var/tmp/comsol52a.log