For API Publish to start, the apipublish_master.key must be present in the apipublish/config directory. If you have moved the master key to a secured location for security reasons, copy it to the config directory before starting the service.
You can start API Publish service in one of the following two ways:
- Using service script available in the
bin
directory, or - Using the
start.sh
script available in thebin
directory.
Start API Publish as a service
Complete the following steps to start API Publish as a service:
- Navigate to the
bin
directory and run the following command to install API Publish as a service:#sudo ./install-systemctl-service.sh pi-apipublish
- Start the service by entering the following command:
systemctl start pi-apipublish.service
Start API Publish using start.sh script
To start API Publish, run the start.sh script located in the /pingidentity/apipublish/bin directory.
$ ../bin/start.sh
Stop API Publish using stop.sh script
To stop API Publish, run the stop.sh script available in the bin directory.
# ../bin/stop.sh
Stop API Publish using service script
Run the following command to stop the API Publish
service.
systemctl stop pi-apipublish.service