summaryrefslogtreecommitdiff
path: root/bin/pkgr_before_precompile.sh
blob: 126f9fda72ea427228f4e95f8459b0c1a696487e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -ex

for file in config/*.yml.example; do
  cp ${file} config/$(basename ${file} .example)
done

# No need for config file. Will be taken care of by REDIS_URL env variable
rm config/resque.yml

# Set default unicorn.rb file
echo "" > config/unicorn.rb

# Required for assets precompilation
sudo service postgresql start