summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 00:20:19 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 00:20:19 -0400
commitf3e2ecc55ffd3c218515436843e4e6493825441f (patch)
tree59e215ea090b331646b723d23ec57d8d6b78372e
parentdc45b9430e9c3716cd51152ca757753ebb177d66 (diff)
improve libre/parabolaweb-utils
meta: * add postgresql as a dependency filesystem: * Change the systemd .service file to require postgresql
-rw-r--r--PKGBUILD12
-rw-r--r--parabolaweb.service2
2 files changed, 11 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cfb39d7..9c6da33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,12 +8,18 @@
pkgname=parabolaweb-utils
pkgver=`_get_pkgver`
-pkgrel=2
+pkgrel=3
pkgdesc="Utils for the Parabola website"
arch=('any')
url="https://projects.parabolagnulinux.org/parabolaweb.git/"
license=('GPL2')
-depends=('python2' 'python2-flup' 'git' 'libretools' `_get_depends`)
+depends=(
+ 'python2' # duh
+ 'python2-flup' # for fcgi
+ 'postgresql' # for database
+ 'git' # used in parabolaweb-update
+ 'libretools' # used in parabolaweb-update
+ `_get_depends`)
backup=('etc/conf.d/parabolaweb')
export pkgver
@@ -42,5 +48,5 @@ md5sums=('SKIP'
'dd05d6a4ea7cff7fdd789f59aeb9059a'
'520e20b8bbca64042b3afa76b0bec55f'
'1bce8fb832ad9e61cf8b96426ce843b5'
- 'c7e292d2d1c3e846e5cfcd7283de0fe4'
+ '80ee438224b4d67677d0980d5bc57005'
'fb291168d3f57a85f82216c4e74c9ccf')
diff --git a/parabolaweb.service b/parabolaweb.service
index d145e53..4c3fb8c 100644
--- a/parabolaweb.service
+++ b/parabolaweb.service
@@ -1,4 +1,6 @@
[Unit]
+Requires=postgresql.service
+After=postgresql.service
Description=ParabolaWeb
[Service]