# Installing on OS X

## **Starting as a service**

The OS X lmadmin installer does not configure the server to start automatically.

Check the \[install\_dir]/examples/service/ directory for a sample startup script or \[install\_dir]/examples/launchd/ for a launchd example plist.

For the sample plist file to work, the UserName and GroupName key values need to be changed from "nobody" to a production UserName and GroupName.

If you use 'lmgrd' instead of 'lmadmin' (and thus don't have the examples/ directory), you can find an example script or a launchd plist below.

<table data-header-hidden><thead><tr><th></th><th data-type="files"></th></tr></thead><tbody><tr><td><strong>exemplary script</strong></td><td><a href="https://3899235193-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4yKxBBBv1qcoSuL2US4%2Fuploads%2Fgit-blob-567b65e45cc8e7ed46d357b19a70947b8c818af9%2Fexample_lmadmin_as_a_service.txt?alt=media">example_lmadmin_as_a_service.txt</a></td></tr><tr><td>l<strong>aunchd plist</strong></td><td><a href="https://3899235193-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4yKxBBBv1qcoSuL2US4%2Fuploads%2Fgit-blob-ccfd3030304843d321c1da3289322a6d256b1f87%2Flmgrd.plist?alt=media">lmgrd.plist</a></td></tr><tr><td></td><td></td></tr></tbody></table>

For macOS earlier than 10.13, plist files should be placed in /System/Library/LaunchDaemons rather than in /System/Library/LaunchAgents. The naming convention for plist files is com.apple.filename.plist.

For macOS 10.13 or later, either location works, and there are no restrictions for plist file naming.

## **Misc.**

See also "Installing lmadmin License Server Manager as an Operating System Service" in the License Administration Guide.
