summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils
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
commit1ff7d1a6fa1690a352cafc517f6699d2897584f0 (patch)
tree973b08bc857bb4fc73f20081155582350e7ba27b /libre/parabolaweb-utils
parentdc831bb9d74e073e3e95d8ce8d0715edd7eee1b0 (diff)
improve libre/parabolaweb-utils
meta: * add postgresql as a dependency filesystem: * Change the systemd .service file to require postgresql
Diffstat (limited to 'libre/parabolaweb-utils')
-rw-r--r--libre/parabolaweb-utils/PKGBUILD12
-rw-r--r--libre/parabolaweb-utils/parabolaweb.service2
2 files changed, 11 insertions, 3 deletions
diff --git a/libre/parabolaweb-utils/PKGBUILD b/libre/parabolaweb-utils/PKGBUILD
index cfb39d703..9c6da333a 100644
--- a/libre/parabolaweb-utils/PKGBUILD
+++ b/libre/parabolaweb-utils/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/libre/parabolaweb-utils/parabolaweb.service b/libre/parabolaweb-utils/parabolaweb.service
index d145e53d8..4c3fb8c7f 100644
--- a/libre/parabolaweb-utils/parabolaweb.service
+++ b/libre/parabolaweb-utils/parabolaweb.service
@@ -1,4 +1,6 @@
[Unit]
+Requires=postgresql.service
+After=postgresql.service
Description=ParabolaWeb
[Service]