Uninstalling the platform daemon

To disable the platform daemon at start up, that is remove the NiagaraAX scripts in "/usr/bin” and “/etc/init.d”, you have to execute the script 'uninstall_service', found in NiagaraAX's “uninstall” directory. It is not necessary to execute this script prior to running NiagaraAX's main uninstallation script, as it will uninstall the service, and more, on its own.

You need to be acting as root to accomplish this task. The first step to uninstalling a particular version's platform daemon is to change to the target release’s uninstall directory:

root@<host>:/usr/bin# cd <targetNiagaraReleaseDirectory>/uninstall

Then, you issue the “uninstall_service.sh” command. For example, if uninstalling the platform daemon from opt/Niagara/Niagara-3.4.25/uninstall:

root@<host>:/opt/Niagara/Niagara-3.4.25/uninstall# bash uninstall_service.sh

The platform daemon (service) is then uninstalled. The service can be safely reinstalled using the ‘install_service.sh’ command. See Installing the platform daemon.