Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Configuring Packages and Their Services
Writing the Package Control Script
Chapter 6200
# this package. Some examples of the HA Servers are Network File System
# (NFS), Apache Web Server, and SAMBA (CIFS) Server.
#
# If you plan to use one of the HA server toolkits to run an application server,
# you need to set the HA_APP_SERVER value to either "pre-IP" or "post-IP" in
# order to enable this control script to check and run the Toolkit Interface
# Script (toolkit.sh) in the package directory. The interface script will call
# the toolkit main script to verify, start, and stop the server daemons.
#
# If you set the HA_APP_SERVER to "pre-IP", the application will be started
# BEFORE adding the package IP address(es) to the system. Application servers
# such as NFS and SAMBA are better to be started before the system provides
# external connections (activate package IP addresses). Therefore, at the time
# the clients connect to the system, the application server is
# ready for service.
#
# If you set the HA_APP_SERVER to "post-IP", the application will be started
# AFTER adding the package IP address(es) to the system. Application servers
# such as Apache Web Server will check the existing IP when the server starts.
# These applications will not be started if the IP has not been added to the
# system.
#
#Uncomment one the following lines as needed:
#
#HA_APP_SERVER="pre-IP"
#HA_APP_SERVER="post-IP"
# SERVICE NAMES AND COMMANDS.
# Specify the service name, command, and restart parameters which are
# used by this package. Uncomment SERVICE_NAME[0]="", SERVICE_CMD[0]="",