#!/bin/bash

set -e

chmod 0400 /var/vcap/jobs/revok/config/github_private_key
chown vcap:vcap /var/vcap/jobs/revok/config/github_private_key

chmod 0400 /var/vcap/jobs/revok/config/private_key
chown vcap:vcap /var/vcap/jobs/revok/config/private_key

chmod 0400 /var/vcap/jobs/revok/config/mysql_private_key
chown vcap:vcap /var/vcap/jobs/revok/config/mysql_private_key

#!/bin/bash

set -e

chmod 0400 /var/vcap/jobs/revok/config/github_private_key
chown vcap:vcap /var/vcap/jobs/revok/config/github_private_key

chmod 0400 /var/vcap/jobs/revok/config/private_key
chown vcap:vcap /var/vcap/jobs/revok/config/private_key

chmod 0400 /var/vcap/jobs/revok/config/mysql_private_key
chown vcap:vcap /var/vcap/jobs/revok/config/mysql_private_key

ulimit -n 65536

Set revok ulimit high enough.
Set revok ulimit high enough.

- we observed previous limit of 1024 was not high enough

[#144633749]

Signed-off-by: Can Berk Güder <ed1dfb86e8d469f3acf95218f1ef796e19057d0f@pivotal.io>
