summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/files/runit_config
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_couchdb/files/runit_config')
-rw-r--r--puppet/modules/site_couchdb/files/runit_config6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/files/runit_config b/puppet/modules/site_couchdb/files/runit_config
new file mode 100644
index 00000000..169b4832
--- /dev/null
+++ b/puppet/modules/site_couchdb/files/runit_config
@@ -0,0 +1,6 @@
+#!/bin/bash
+exec 2>&1
+export HOME=/home/bigcouch
+ulimit -H -n 32768
+ulimit -S -n 32768
+exec chpst -u bigcouch /opt/bigcouch/bin/bigcouch