Uninstalling Manager from Red Hat Enterprise Linux 7

Uninstall Manager as a user who has an administrator privilege.

1. Stop the PostgreSQL service.

Stop the PostgreSQL service by using the following command:

systemctl stop pgsql-iot.service

2. Disable the PostgreSQL service.

Disable the PostgreSQL service by using the following command:

systemctl disable pgsql-iot.service

3. Stop the Manager service.

Stop the Manager service by using the following command:

systemctl stop hulftiot-manager.service

4. Disable the Manager service.

Disable the Manager service by using the following command:

systemctl disable hulftiot-manager.service

5. Uninstall Manager.

Uninstall Manager by using the following command:

rm -f /etc/systemd/system/pgsql-iot.service

rm -f /etc/systemd/system/hulftiot-manager.service

6. Delete the Manager installation directory.

Delete the Manager installation directory by using the following command. The default directory is "/opt/hulftiot-manager".

rm -rf /opt/hulftiot-manager