Page created: 3 Feb 2021 |
Page updated: 17 Jun 2021
Run PingCentral as a Linux systemd service that automatically starts when Linux starts.
- You are logged on to your system as a root user.
- The JAVA_HOME path points to the JDK software on your system. For example, usr/java/jdk11.0_4.
- The PINGCENTRAL_HOME path points to the folder extracted from the .zip file in your installation directory. Ensure that this path does not reside within a user's home folder.
Copy the pingcentral.service configuration file from
You can also copy this file to the /etc/systemd/system location, if appropriate
Open the pingcentral.service file and assign appropriate
values to the following variables:
- PINGCENTRAL_HOME: Labeled "WorkingDirectory."
- PINGCENTRAL_USER: Labeled "User."
- JAVA_HOME: Labeled "Environment."
Enable read and write activity for the service using the chmod 644
If you copied this file to the /etc/systemd/system location in step 1, use this command instead: chmod 644 /etc/systemd/system/pingcentral.service.
- Load the systemd service using the systemctl daemon-reload command.
- Enable the service using the systemctl enable pingcentral.service command.
- Start the service using the systemctl start pingcentral.service command.