Permalink
Browse files

-- move gendocs.pl to devtools/

-- minor doc updates


git-svn-id: http://code.sixapart.com/svn/perlbal/trunk@346 6caf28e9-730f-0410-b62b-a31386fe13fb
  • Loading branch information...
1 parent 857ebfe commit 55d94696f9f997418852c013c53004954ad78c7f bradfitz committed Jul 26, 2005
Showing with 18 additions and 9 deletions.
  1. +1 −1 MANIFEST
  2. +1 −1 Makefile.PL
  3. +7 −2 {doc → devtools}/gendocs.pl
  4. +6 −3 doc/config-guide.txt
  5. +3 −2 doc/service-parameters.txt
View
@@ -22,7 +22,7 @@ lib/Perlbal/Plugin/Highpri.pm
lib/Perlbal/Plugin/Vhosts.pm
lib/Perlbal/ReproxyManager.pm
META.yml Module meta-data (added by MakeMaker)
-doc/gendocs.pl
+devtools/gendocs.pl
doc/config-guide.txt
doc/service-parameters.txt
doc/reproxying.txt
View
@@ -51,7 +51,7 @@ sub MY::postamble {
docs :: docs/service-parameters.txt
docs/service-parameters.txt: lib/Perlbal/Service.pm
-${tab}doc/gendocs.pl service-parameters
+${tab}devtools/gendocs.pl service-parameters
MAKE_FRAG
}
@@ -13,10 +13,15 @@
$by_role{$tun->{check_role}}{$k} = $tun;
}
-my $docs = $FindBin::Bin;
+my $docs = $FindBin::Bin . "/../doc";
open (H, ">$docs/service-parameters.html") or die "Can't open $docs/service-parameters.html for writing";
-print H "<h1 align='left'>Perlbal Service parameters</h1>Set via the command:<pre>SET &lt;service-name&gt;.&lt;param&gt; = &lt;value&gt;</pre>";
+print H <<HTML;
+<h1 align='left'>Perlbal Service parameters</h1>Set via commands of either forms:
+<pre>SET &lt;service-name&gt; &lt;param&gt; = &lt;value&gt;
+SET &lt;param&gt; = &lt;value&gt;
+</pre>
+HTML
print H "Note on types: 'bool' values can be set using one of 1, true, yes, on, 0, false, off, or no. 'size' values are in integer bytes, or an integer followed by 'b', 'k', or 'm' (case-insensitive) for bytes, KiB, or MiB.";
View
@@ -9,10 +9,13 @@ shutdown graceful -- closes listening sockets and stays alive until cli
create pool <name> -- create an empty pool
pool <name> add <ip[:port]> -- add a node to a pool
pool <name> remove <ip[:port]> -- remove a node to a pool
-set <pool>.<param> = <value> -- set a property on a pool (see pool-parameters.txt)
+set [<pool>] <param> = <value> -- set a property on a pool (see pool-parameters.txt).
+ pool is optional when it was just created.
-create service <name> -- create an empty service
-set <service>.<param> = <value> -- set a property on a service (see service-parameters.txt)
+create service <name> -- create a new service
+
+set [<service>] <param> = <value> -- set a property on a service (see service-parameters.txt)
+ service name is optional when service was just created.
enable <service> -- enable a service (start listening)
disable <service> -- disable a service (stops listening)
@@ -1,8 +1,9 @@
Perlbal Service parameters
- Set via the command:
+ Set via commands of either forms:
- SET <service-name>.<param> = <value>
+ SET <service-name> <param> = <value>
+ SET <param> = <value>
Note on types: 'bool' values can be set using one of 1, true, yes, on, 0,
false, off, or no. 'size' values are in integer bytes, or an integer

0 comments on commit 55d9469

Please sign in to comment.