---
title: "Installing PingIntelligence as a <code class=\"codeph\">systemd</code> service"
description: You can install the various PingIntelligence components as a systemd service. When installing as a service, the various components are started automatically when the host system restarts.
component: pingintelligence
version: 5.2
page_id: pingintelligence:installing_pingintelligence_for_apis:pingintelligence_install_as_service
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/installing_pingintelligence_for_apis/pingintelligence_install_as_service.html
revdate: April 3, 2024
section_ids:
  before-you-begin: Before you begin
  about-this-task: About this task
  steps: Steps
  example: Example:
  example-2: Example:
  next-steps: Next steps
---

# Installing PingIntelligence as a `systemd` service

You can install the various PingIntelligence components as a `systemd` service. When installing as a service, the various components are started automatically when the host system restarts.

## Before you begin

Ensure you have `sudo` access to install PingIntelligence components as a service. Complete the following steps only if the automated deployment did not install PingIntelligence components as a service. To verify whether service is installed on the desired host machine, run the following command:

```
# systemctl status <service-name>
```

For example, to check ASE service, enter the following command on ASE host machine:

```
systemctl status pi-ase.service
● ase.service - ASE
  Loaded: loaded (/etc/systemd/system/ase.service; disabled; vendor preset: disabled)
  Active: active (running) since Sun 2019-11-03 23:01:19 MST; 23h ago
.
.
Nov 03 23:01:19 T5-06 systemd[1]: Started ASE.
```

Verify that PingIntelligence services are not running. Use the following service names to verify the status of each component:

* ASE: `pi-ase.service`

* ABS: `pi-abs.service`

* MongoDB: `pi-mongodb.service`

* Dashboard: `pi-dashboard.service`

* Web GUI: `pi-webgui.service`

* Elasticsearch: `pi-elasticsearch.service`

* Kafka: `pi-kafka.service`

* Zookeeper: `pi-zookeeper.service`

* API Publish: `pi-apipublish.service`

Stop the component for which you want to install the service.

## About this task

To install PingIntelligence as a `systemd` service:

## Steps

1. Sign on to the host machine for which you want to install the service.

   ### Example:

   If you want to install ASE as a service, sign on to the ASE host machine.

2. Navigate to the `util` directory. Enter the following command as a `root` user to install PingIntelligence as a service:

   ```
   #sudo ./install-systemctl-service.sh  <component_name>  <ansible_user_name>
   ```

   ### Example:

   On the ASE host machine, run the following command:

   ```
   #sudo ./install-as-service.sh pi-ase pi-user
   ```

3. Install service for each component following steps 1 and 2 on the respective host machines.

## Next steps

Edit the service files in the following order to make sure that PingIntelligence components successfully installed. Use the `Required` option to set the order of starting of service. For more information, see [Creating and modifying systemd unit files](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-unit_files).

1. MongoDB

2. Kafka

3. ABS

4. ASE

5. API Publish

6. Elasticsearch

7. Dashboard

8. Web GUI
