summaryrefslogtreecommitdiff
path: root/src/pmwebapi/pmwebd.options
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmwebapi/pmwebd.options')
-rw-r--r--src/pmwebapi/pmwebd.options32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/pmwebapi/pmwebd.options b/src/pmwebapi/pmwebd.options
new file mode 100644
index 0000000..27566fb
--- /dev/null
+++ b/src/pmwebapi/pmwebd.options
@@ -0,0 +1,32 @@
+# command-line options and environment variables for pmwebd
+# uncomment/edit lines as required
+# note: environment variables are *not* expanded - use full path
+
+# expose resources for non PMAPI requests, e.g.
+# -R $(PCP_VAR_DIR)/pmwebd/resources
+
+# expose archives from local pmloggers, e.g.
+# -A $(PCP_LOG_DIR)/pmlogger
+# default is pmwebd's private log directory: $(PCP_LOG_DIR)/pmwebd
+
+# run in the foreground
+# -f
+
+# make log go someplace else
+# -l /some/place/else
+
+# assume identity of some user other than "pcp"
+# -U nobody
+
+# emergency messages before logfile created
+# -x /tmp/desperate.log
+
+# port for incoming connections from PCP monitoring clients
+# -p 44323
+
+# setting of environment variables for pmwebd
+
+# timeouts for interactions with pmcd on behalf of clients
+# PMCD_CONNECT_TIMEOUT=10
+# PMCD_RECONNECT_TIMEOUT=10,20,30
+# PMCD_REQUEST_TIMEOUT=10