Installing Mac OS X Startup Item

In order to make Floating License Server run when launching Mac OS X, you need to create a startup item, which cause the VP Server to be executed during the final phase of the boot process.

To install VP Server startup item:

  1. Setup the VP Server. Make sure the name of server folder was named as VPServer, which is the default name you see when extracting the downloaded and zipped server program.
  2. Go to /Library/StartupItems. If StartupItems does not exist, create it manually.
    Go to /Library/StartupItems
    Go to /Library/StartupItems
  3. Create a folder named VPServer under /Library/StartupItems. You must have root permission in advance. To get root permission, execute command "sudo su". After that, you have to provide root password for proceeding.
  4. Create two files: VPServer and StartupParameters.plist respectively under the VPServer folder.
  5. Edit VPServer and fill in the content as below. Replace %path_to_your_server% with a correct value.
    . /etc/rc.common

    # The start subroutine
    StartService() {

    # The stop subroutine
    StopService() {

    # The restart subroutine
    RestartService() {

    RunService “$1″
  6. Edit StartupParameters.plist and fill in the content as below.
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “”>
    <plist version=”1.0″>
  7. Set permission for those files.  Set owner as root, change group as wheel and make sure there are execute permission to those files. You can execute command chmod 755 * on those files to grant the execute permission.
  8. Restart your machine to activate Mac OS X system service.

Related Resources

The following resources may help you learn more about the topic discussed in this page.

2. Removing service Table of Contents Chapter 4. Adjusting export valid period

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK