beautypg.com

HP B6960-90078 User Manual

Page 773

background image

Further Information

Example of the Package Control File

Appendix A

A-43

#

# SERVICE_NAME[1]=pkg1b

# SERVICE_CMD[1]="/usr/bin/X11/xload -display

192.10.25.54:0"

# SERVICE_RESTART[1]="-r 2" # Will restart the

service twice.

#

# SERVICE_NAME[2]=pkg1c

# SERVICE_CMD[2]="/usr/sbin/ping"

# SERVICE_RESTART[2]="-r 1" # Will restart the service

an infinite

# number of times.

#

# Note: No environmental variables will be passed to the

command, this

# includes the PATH variable. Absolute path names are required

for the

# service command definition. Default shell is /usr/bin/sh.

#

SERVICE_NAME[0]=omni_sv

SERVICE_CMD[0]="/etc/opt/omni/sg/csfailover.ksh start"

SERVICE_RESTART[0]="-r 2"