summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pkgr.yml2
-rwxr-xr-xbin/pkgr_before_precompile.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/.pkgr.yml b/.pkgr.yml
index 5e0793bebf8..8fc9fddf8f7 100644
--- a/.pkgr.yml
+++ b/.pkgr.yml
@@ -1,5 +1,7 @@
user: git
group: git
+services:
+ - postgres
before_precompile: ./bin/pkgr_before_precompile.sh
targets:
debian-7: &wheezy
diff --git a/bin/pkgr_before_precompile.sh b/bin/pkgr_before_precompile.sh
index 283abb6a0cd..5a2007f4ab0 100755
--- a/bin/pkgr_before_precompile.sh
+++ b/bin/pkgr_before_precompile.sh
@@ -18,6 +18,3 @@ rm config/resque.yml
# Set default unicorn.rb file
echo "" > config/unicorn.rb
-
-# Required for assets precompilation
-sudo service postgresql start