> scripts;
server_manager &manager;
string conffile;
administrator(server_manager &sm, string const &cf);
============================================================
--- doc/documentation.html 4527ce7daac995536fa085624b70c3ccbea7cb3b
+++ doc/documentation.html 8fa162b604a4b395d0acba60c8b78dfd4ed88a57
@@ -3,6 +3,7 @@
+
Usher Documentation
Introduction
@@ -47,7 +48,7 @@ The configuration file for usher approxi
The configuration file for usher approximately follows monotone's
"basic_io" format. A sample config file is:
-userpass "username" "password"
monotone "mtn" "-k" "my_key"
listenaddr "0.0.0.0:4691"
adminaddr "127.0.0.1:12345"
logdir "/var/log/usher/"
server "monotone"
host "localhost"
pattern "net.venge.monotone"
remote "66.96.28.3:4691"
server "local"
host "127.0.0.1"
pattern "*"
local "-d" "/usr/local/src/managed/my.db"
+userpass "username" "password"
monotone "mtn" "-k" "my_key"
listenaddr "0.0.0.0:4691"
adminaddr "127.0.0.1:12345"
logdir "/var/log/usher/"
script "name" "exe" "arg" "arg"
server "monotone"
host "localhost"
pattern "net.venge.monotone"
remote "66.96.28.3:4691"
server "local"
host "127.0.0.1"
pattern "*"
local "-d" "/usr/local/src/managed/my.db"
There is an initial section for global settings, followed by any number
of sections each starting with a "server" line.
@@ -67,8 +68,12 @@ The default is listenaddr "0.0.0.0:4691".
logdir "/path/for/log/files/"
A path (ending with a slash) where per-server logfiles for local servers should be stored.
-The default is logdir "./".
+The default is logdir "./".script "name" "exe" "arg" "arg"
+ A script that can be executed by given the "RUN" command on the
+administrative interface. Any arguments specified in the config file
+will be given before any arguments given to the "RUN" command.
+
Per-server directives