Changeset 75e180f0f850229f54cb3322784270bdc9cb8ab1 in xas-supervisor


Ignore:
Timestamp:
12/23/15 13:30:30 (3 years ago)
Author:
Kevin L. Esteb <kevin@…>
Branches:
master
Children:
abf00c1de58a791380cf569e01138e3f9a5af54c
Parents:
f9f2b94b8d31c255b117ad2b0ff32b234b0a528f
git-author:
Kevin L. Esteb <kevin@…> (12/23/15 13:30:30)
git-committer:
Kevin L. Esteb <kevin@…> (12/23/15 13:30:30)
Message:

updating documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/XAS/Apps/Supervisor/Monitor.pm

    r652b6aeb1c1d87ec9ca1a232b6b58bbe2725c28c r75e180f0f850229f54cb3322784270bdc9cb8ab1  
    111111"xas-logmon" in the stanza name must be unique and is associated with the 
    112112process. This name is used to control this process. Reasonable defaults 
    113 have been defined within the code. You really only need to use 'command' to 
    114 start a process. The following defaults are defined: 
    115  
    116  auto-start = 1 
    117  auto-restart = 1 
    118  directory = / 
    119  exit-codes = 0,1 
    120  exit-retires = 5 
    121  group = xas 
    122  priority = 0 
    123  umask = 0022 
    124  user = xas 
    125  redirect = 0 
    126  
    127 Please see L<XAS::Lib::Process|XAS::Lib::Process> for more details. If  
    128 "redirect" is 1, all output from that process will be written to the 
    129 supervisors log file. 
     113have been defined. You really only need to use 'command' to start a process.  
     114 
     115The following properties may be used. 
     116 
     117=over 4 
     118 
     119=item B<auto-start> 
     120 
     121This indicates that the process should auto start. Defaults to 1. 
     122 
     123=item B<auto-restart> 
     124 
     125This indicates wither the process should auto restart the process should it 
     126exit. This would match the exit code to the exit-code parameter. If they 
     127match, then the process would be restarted. Defaults to 1. 
     128 
     129=item B<directory> 
     130 
     131The default directory to set for the process. Defaults to "/". 
     132 
     133=item B<environment> 
     134 
     135Optional additional environment variables to pass to the process. This should 
     136be in this form "key1=value1;;key2=value2". 
     137 
     138=item B<exit-codes> 
     139 
     140The possible exit codes that might be returned if the process aborts. These 
     141are used to determine if the process should be restarted. Defaults to "0,1". 
     142This must be a comma delimited list of values. 
     143 
     144=item B<exit-retires> 
     145 
     146The number of retries for restarting the process. Defaults to "5". If this is 
     147"-1" then retries are unlimited. Use with caution. 
     148 
     149=item B<group> 
     150 
     151The group to run the process under. Defaults to "xas". Not implemented under 
     152Windows. 
     153 
     154=item B<priority> 
     155 
     156The priority to run the process under. Defaults to "0". Not implemented under 
     157Windows. 
     158 
     159=item B<redirect> 
     160 
     161This indicates that stdout and stderr are to be redirected to the supervisor. 
     162Any output from those streams are logged to the supervisors log file. Defaults 
     163to 0. 
     164 
     165=item B<umask> 
     166 
     167The umask to use for the process. Defaults to "0022". Not implemented under 
     168Windows. 
     169 
     170=item B<user> 
     171 
     172The user to run the process under. Defaults to "xas". Not implemented under 
     173Windows. 
     174 
     175=back 
     176 
     177Please see L<XAS::Lib::Process|XAS::Lib::Process> for more details.  
    130178 
    131179=head1 METHODS 
Note: See TracChangeset for help on using the changeset viewer.