Starting and stopping the API Publish Service
Start and stop the API Publish Service.
Before you begin
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.
About this task
You can start the API Publish Service in one of the following two ways:
-
Using a service script available in the
bindirectory -
Using the
start.shscript available in thebindirectory
Steps
-
Start API Publish.
Choose from:
-
To start API Publish as a service:
-
Navigate to the
bindirectory 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
-
-
To start API Publish using the
start.shscript:-
Run the
start.shscript located in the/pingidentity/apipublish/bindirectory:$ ../bin/start.sh
-
-
-
Stop API Publish.
Choose from:
-
To stop API Publish using a service script:
-
Run the following command to stop the API Publish Service:
systemctl stop pi-apipublish.service
-
-
To stop API Publish using the
stop.shscript:-
Run the
stop.shscript available in thebindirectory:# ../bin/stop.sh
-
-