PingAccess

Configuring PingAccess to run as a Linux systemd service

Configure PingAccess to run as a Linux systemd service, causing it to start automatically when Linux starts.

About this task

The service script will only start if <JAVA_HOME> and <PA_HOME> are set and the PingAccess license file is found.

Steps

  1. Copy the configuration file from <PA_HOME>/sbin/linux/pingaccess.service to /etc/systemd/system/pingaccess.service.

  2. In the pingaccess.service file, replace the following variables:

    • ${PA_HOME}

    • ${PA_USER}

    • ${PA_JAVA_HOME}

  3. To allow read-write activity on the service, run:

    chmod 644 /etc/systemd/system/pingaccess.service
  4. To load the systemd service, run:

    systemctl daemon-reload
  5. To enable the service, run:

    systemctl enable pingaccess.service
  6. To start the service, run:

    systemctl start pingaccess.service