How to configure the FglAM (Foglight Agent Manager) to run as a Daemon on Unix based OS so the FglAM will start when we restart the OS
You can install an init.d-style script called quest-fglam in the init.d directory on your system. This script is called when the host on which the Agent Manager is installed starts or shuts down, allowing it to be run as a daemon.
Even if you choose not to install the init.d script during the installation, or if you do not perform the installation as the root user, the installer generates scripts that can perform the necessary setup.
These scripts are fglam-init-script-installer.sh and fglam-init-script.sh, and they are located in /state/default/.
The script fglam-init-script-installer.sh installs the script fglam-init-script.sh into your system’s init.d directory as quest-fglam. Your system’s init.d process then uses quest-fglam to run the Agent Manager as a daemon.
To install the init.d script:
Locating the init.d Script
Depending on the operating system you are running, the init.d-style script quest-fglam is installed to a different location either by the Agent Manager installer or after you run the script fglam-init-script-installer.sh.
The locations of the installed init.d script (listed by operating system) are as follows:
Note The location of the init.d script depends only on the type of operating system, not on the specific architecture. For example, the location is the same for HP-UX running on either PA-RISC or Itanium, or for Solaris running on either SPARC or x86.