PingAccess

Configuring PingAccess to run as a Linux systemd service

About this task

The service script will only start if JAVA_HOME and PA_HOME are set and if the script can find the PingAccess license file.

To configure PingAccess to run as a Linux systemd service:

Steps

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

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

    • Replace ${PA_HOME} with the path to the PingAccess instance.

    • Replace ${PA_USER} with the username used to run the service.

    • Replace ${PA_JAVA_HOME} with the path to the Java installation folder.

  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