IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2009, 1:56:21 PM (17 years ago)
Author:
jhoblitt
Message:

docs cleanup

Location:
trunk/console/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/console/scripts/console

    r24615 r25011  
    6363=over 4
    6464
    65 =item * --db|-d <db name>
     65=item * --user|-u
    6666
    67 Name of database (C<namespace>) to write too.
     67The C<ssh> username to use when connecting to the console port.
    6868
    69 Optional if defined in the F<.nebdiskdrc> file or the appropriate environment
    70 variable is set.
    71 
    72 =item * --user|-u <db username>
    73 
    74 Username to authenticate with.
    75 
    76 Optional if defined in the F<.nebdiskdrc> file or the appropriate environment
    77 variable is set.
    78 
    79 =item * --pass|-p <db password>
    80 
    81 Password to authenticate with.
    82 
    83 Optional if defined in the F<.nebdiskdrc> file or the appropriate environment
    84 variable is set.
    85 
    86 =item * --debug
    87 
    88 This flag prevents the program from "daemonizing" so output can be sent to
    89 C<stdout>/C<stderr> and a debugger used on the running process.
    90 
    91 =item * --pidfile <filename>
    92 
    93 Filename to log the running daemon's PID too.
    94 
    95 Optional, if this option is omitted and no value is defined in the
    96 F<.nebdiskrc> then no pidfile is created.
    97 
    98 =item * --stop|-s
    99 
    100 Uses the pidfile to kill an already running daemon.
    101 
    102 =item * --restart|-r
    103 
    104 Uses the pidfile to kill an already running daemon and then starts a new
    105 instance.
    106 
    107 =item * --verbose|-r
     69=item * --verbose|-v
    10870
    10971Turns on informational/debugging messages to be sent to the
    110 C<stderr>/C<stdout>.  This option is probably not very usefully unless combined
    111 with C<--debug>.
    112 
    113 =back
    114 
    115 =head1 ENVIRONMENT
    116 
    117 These environment variables may be used in place of the specified command line
    118 options.  All command line option will override the corresponding environment
    119 value.
    120 
    121 =over 4
    122 
    123 =item * C<NEB_DB>
    124 
    125 Equivalent to --db|-d
    126 
    127 =item * C<NEB_USER>
    128 
    129 Equivalent to --user|-u
    130 
    131 =item * C<NEB_PASS>
    132 
    133 Equivalent to --pass|-p
     72C<stderr>/C<stdout>.
    13473
    13574=back
     
    13776=head1 RCFILE
    13877
    139 This program will attempt to read an C<rcfile> from F<$HOME/.nebdiskrc> and if
    140 found will use it's values to override program defaults.  Please not that the
    141 precedence for values is: command line, rcfile, environment variables.
    142 
    143 The format of the C<rcfile> is in L<YAML> format and uses the following values:
    144 
    145     ---
    146     db: nebulous
    147     dbpass: '@neb@'
    148     dbuser: nebulous
    149     mounts:
    150       - /mnt
    151       - /tmp
    152       - /usr
    153     pidfile: /var/tmp/nebdiskd
    154     poll_interval: 5
    155 
    156 The values C<db>, C<dbpass>, C<dbuser>, and C<pidfile> have the same semantics
    157 as their command line and/or environment variable equivalents.
    158 
    159 =over 4
    160 
    161 =item * C<mounts>
    162 
    163 A list of "paths" to C<stat(2)> before mounted volumes are polled.  The propose
    164 of this option is to attempt to keep "automounted" volumes mounted while this
    165 program is running.
    166 
    167 This value may be omitted or left blank.
    168 
    169 =item * C<poll_interval>
    170 
    171 The number of seconds to wait between checks for mounted volumes.
    172 
    173 This value may be omitted or left blank.  The default value is C<60>s.
    174 
    175 =back
     78This program will attempt to read an C<rcfile> from F<$HOME/.Consolerc>.
    17679
    17780=head1 CREDITS
     
    209112=head1 SEE ALSO
    210113
    211 L<Config::YAML>
     114L<Config::YAML>, L<Console>, L<console-config>, L<console-ipp-defaults>
    212115
    213116=cut
  • trunk/console/scripts/console-config

    r24611 r25011  
    152152=head1 RCFILE
    153153
    154 This program will attempt to read an C<rcfile> from F<$HOME/.Consolerc>
    155 
    156 The format of the C<rcfile> is in L<YAML> format and uses the following values:
    157 
    158     ---
    159     db: nebulous
    160     dbpass: '@neb@'
    161     dbuser: nebulous
    162     mounts:
    163       - /mnt
    164       - /tmp
    165       - /usr
    166     pidfile: /var/tmp/nebdiskd
    167     poll_interval: 5
    168 
    169 The values C<db>, C<dbpass>, C<dbuser>, and C<pidfile> have the same semantics
    170 as their command line and/or environment variable equivalents.
    171 
    172 =over 4
    173 
    174 =item * C<mounts>
    175 
    176 A list of "paths" to C<stat(2)> before mounted volumes are polled.  The propose
    177 of this option is to attempt to keep "automounted" volumes mounted while this
    178 program is running.
    179 
    180 This value may be omitted or left blank.
    181 
    182 =item * C<poll_interval>
    183 
    184 The number of seconds to wait between checks for mounted volumes.
    185 
    186 This value may be omitted or left blank.  The default value is C<60>s.
    187 
    188 =back
     154This program will attempt to read an C<rcfile> from F<$HOME/.Consolerc>.
    189155
    190156=head1 CREDITS
     
    222188=head1 SEE ALSO
    223189
    224 L<Config::YAML>
     190L<Config::YAML>, L<Console>, L<console>, L<console-ipp-defaults>
    225191
    226192=cut
  • trunk/console/scripts/console-ipp-defaults

    r24618 r25011  
    139139=over 4
    140140
    141 =item * --verbose|-r
     141=item * --verbose|-v
    142142
    143143Turns on informational/debugging messages to be sent to the
     
    180180=head1 SEE ALSO
    181181
    182 L<Config::YAML>, L<Console>
     182L<Config::YAML>, L<Console>, L<console>, L<console-config>
    183183
    184184=cut
Note: See TracChangeset for help on using the changeset viewer.