summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-30 16:45:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-30 16:45:14 -0300
commitbaee1e0c8e3500ab73845d522a57ba4ebfa10cfe (patch)
treeffaf6032aadb4ee23d57007efcb3d2f2c7e21fd4 /templates
parent1f1962afc2839da75c6d77c228c6b74a178c06a5 (diff)
downloadpuppet-ekeyd-baee1e0c8e3500ab73845d522a57ba4ebfa10cfe.tar.gz
puppet-ekeyd-baee1e0c8e3500ab73845d522a57ba4ebfa10cfe.tar.bz2
Incorporating Riseup code
Diffstat (limited to 'templates')
-rw-r--r--templates/ekeyd-egd-linux.default.erb24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/ekeyd-egd-linux.default.erb b/templates/ekeyd-egd-linux.default.erb
new file mode 100644
index 0000000..33f1a7b
--- /dev/null
+++ b/templates/ekeyd-egd-linux.default.erb
@@ -0,0 +1,24 @@
+# THIS FILE MANAGED BY PUPPET
+
+# Change to YES to allow ekeyd-egd-linux to start. Ensure the below are
+# correctly configured first though.
+START_EKEYD_EGD_LINUX=YES
+
+# Change this if you want it to be something other than the default
+HOST=<%= has_variable?("ekeyd_address") ? ekeyd_address : '127.0.0.1' %>
+<%= has_variable?("ekeyd_port") ? 'PORT=' + ekeyd_port : '#PORT=8888' %>
+
+# Number of bits minimum in the pool, below which the daemon will kick in
+# and transfer data from the EGD to the pool (providing it's available)
+WATERMARK=1024
+
+# Number of 1024 bit (128 byte) blocks to transfer to the kernel each
+# time it dips below the low water mark.
+# BLOCKS=3
+
+# How many shannons-per-byte to claim for data pushed to the pool
+# SHANNONS=7
+
+# by default egd exits if it dies, instead we want to try to reconnect
+RETRYTIME=20
+