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
-
Copy the configuration file from
<PA_HOME>/sbin/linux/pingaccess.service
to/etc/systemd/system/pingaccess.service
. -
In the
pingaccess.service
file, replace the following variables:-
${PA_HOME}
-
${PA_USER}
-
${PA_JAVA_HOME}
-
-
To allow read-write activity on the service, run:
chmod 644 /etc/systemd/system/pingaccess.service
-
To load the systemd service, run:
systemctl daemon-reload
-
To enable the service, run:
systemctl enable pingaccess.service
-
To start the service, run:
systemctl start pingaccess.service