Changeset 25011
- Timestamp:
- Aug 6, 2009, 1:56:21 PM (17 years ago)
- Location:
- trunk/console/scripts
- Files:
-
- 3 edited
-
console (modified) (3 diffs)
-
console-config (modified) (2 diffs)
-
console-ipp-defaults (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/scripts/console
r24615 r25011 63 63 =over 4 64 64 65 =item * -- db|-d <db name>65 =item * --user|-u 66 66 67 Name of database (C<namespace>) to write too.67 The C<ssh> username to use when connecting to the console port. 68 68 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 108 70 109 71 Turns 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 72 C<stderr>/C<stdout>. 134 73 135 74 =back … … 137 76 =head1 RCFILE 138 77 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 78 This program will attempt to read an C<rcfile> from F<$HOME/.Consolerc>. 176 79 177 80 =head1 CREDITS … … 209 112 =head1 SEE ALSO 210 113 211 L<Config::YAML> 114 L<Config::YAML>, L<Console>, L<console-config>, L<console-ipp-defaults> 212 115 213 116 =cut -
trunk/console/scripts/console-config
r24611 r25011 152 152 =head1 RCFILE 153 153 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 154 This program will attempt to read an C<rcfile> from F<$HOME/.Consolerc>. 189 155 190 156 =head1 CREDITS … … 222 188 =head1 SEE ALSO 223 189 224 L<Config::YAML> 190 L<Config::YAML>, L<Console>, L<console>, L<console-ipp-defaults> 225 191 226 192 =cut -
trunk/console/scripts/console-ipp-defaults
r24618 r25011 139 139 =over 4 140 140 141 =item * --verbose|- r141 =item * --verbose|-v 142 142 143 143 Turns on informational/debugging messages to be sent to the … … 180 180 =head1 SEE ALSO 181 181 182 L<Config::YAML>, L<Console> 182 L<Config::YAML>, L<Console>, L<console>, L<console-config> 183 183 184 184 =cut
Note:
See TracChangeset
for help on using the changeset viewer.
