Linux AxSupervisor !/install contents

In the AxSupervisor Niagara-3.8.n/install folder, find the following:

add_ax_user.sh

This script is responsible for adding users on this platform to the user group that is eligible to start and stop the NiagaraAX daemon. This process is also available when initially running install.sh but this standalone script permits the addition of users after installation has taken place. This script needs to be executed with elevated permissions using “sudo”.

Default attributes are: ‐r‐xr‐x‐‐‐ niagarad:niagarad

install_service.sh

This script is responsible for installing the NiagaraAX Platform Service, also referred to as “niagarad”. You will need root privileges to successfully run the script. It can be run as a stand-alone installer and does not require or rely on 'install.sh' at all. When run, the script will install (but not start) the platform daemon of that version of NiagaraAX, overwriting any other NiagaraAX daemon currently installed on that platform.

This means you can use this script to switch between installations of AX on your platform. Once completed, you may start the service from the command line or simply reboot. The script relies on 'niagarad_generic', and as such, might fail to function properly if that file is significantly modified. If deleted, you will be unable to switch the platform daemon between multiple AX installations on your machine. Aside from the fact that this script does not start the daemon upon completion, it corresponds to the 'Install Platform Daemon' command available in a Windows environment. For details, see “Installing the platform daemon”.

Default attributes are: -r-xr-x--- niagarad:niagarad

niagarad_generic

This file is a cache of the original code used to generate 'niagaradctl' used by 'install.sh'. The contents of this file are concatenated to 'niagaradctl' at its creation following the generation of platform dependent code during 'install.sh' and 'install_service.sh' runtime. Deletion of this file, or more than trivial modification will prevent you from successfully reinstalling the platform service, i.e. 'install_service.sh'.

Default attributes are: -rwxr-xr-x niagarad:niagarad

remove_ax_user.sh

This script is responsible for removing users on this platform from the user group that is eligible to start and stop the NiagaraAX daemon. This process is also available when running uninstall.sh but this standalone scripts permits the removal of users without completely uninstalling NiagaraAX. This script needs to be executed with elevated permissions using “sudo”.

Default attributes are: ‐r‐xr‐x‐‐‐ niagarad:niagarad