Start and stop the API Publish Service.
For the API Publish Service 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 the API Publish Service in one of the following two ways:
- Using a service script available in the bin directory
- Using the start.sh script available in the bin directory
-
Start API Publish.
- 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
- Navigate to the bin directory and run the
following command to install API Publish as a service:
- To start API Publish using the start.sh script:
- Run the start.sh script located in the
/pingidentity/apipublish/bin
directory:
$ ../bin/start.sh
- Run the start.sh script located in the
/pingidentity/apipublish/bin
directory:
- To start API Publish as a service:
-
Stop API Publish.
- To stop API Publish using a service script:
- Run the following command to stop the API Publish
Service:
systemctl stop pi-apipublish.service
- Run the following command to stop the API Publish
Service:
- To stop API Publish using the stop.sh script:
- Run the stop.sh script available in the
bin
directory:
# ../bin/stop.sh
- Run the stop.sh script available in the
bin
directory:
- To stop API Publish using a service script: