1 2 3 4 5 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