Parameters Associated with RESTART
RCMD=string_value
If AOUT
is restartable, this parameter specifies the command that should be
executed when AOUT
abnormally terminates. The string, up to the first space
or tab, must be the name of an executable UNIX file, either a full pathname or relative to
APPDIR.
(Do not attempt to set a shell variable at the beginning of the
command.) Optionally, the command name can be followed by command-line arguments. Two
additional arguments are appended to the command line: the GRPNO
and
SRVID
associated with the restarting server.
string_value
is executed in parallel with restarting the server.
You can use the RCMD
parameter to specify a command to be executed in
parallel with the restarting of the server. The command must be an executable UNIX system file
residing in a directory on the server’s PATH
. An example is a command that
sends a customized message to the userlog to mark the restarting of the server.
MAXGEN=number
If AOUT
is restartable, this parameter specifies that it can be restarted at
most (number
- 1) times within the period specified by
GRACE
. The value must be greater than 0 and less than 256. If not specified,
the default is 1 (which means that the server can be started once, but not restarted). If the
server is to be restartable, MAXGEN
must be equal to or greater than 2.
RESTART
must be Y
or MAXGEN
is
ignored.
GRACE=number
If RESTART
is Y
, the GRACE
parameter
specifies the time period (in seconds) during which this server can be restarted,
(MAXGEN
- 1) times. The number assigned must be equal to or greater than 0,
and less than 2,147,483,648 seconds (or a little more than 68 years). If
GRACE
is not specified the default is 86,400 seconds (24 hours). Setting
GRACE
to 0 removes all limitations; the server can be restarted an
unlimited number of times.
Parent topic: Creating the UBBCONFIG File