summaryrefslogtreecommitdiff
path: root/community/keepalived
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
committerroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
commit2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch)
treefa055d4e2f367acb518de6c4e06b77b6d8cbef75 /community/keepalived
parent66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff)
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'community/keepalived')
-rw-r--r--community/keepalived/PKGBUILD14
-rw-r--r--community/keepalived/keepalived.service2
2 files changed, 7 insertions, 9 deletions
diff --git a/community/keepalived/PKGBUILD b/community/keepalived/PKGBUILD
index e350de11c..c5bb554c4 100644
--- a/community/keepalived/PKGBUILD
+++ b/community/keepalived/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 83710 2013-02-04 14:57:08Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
+# $Id: PKGBUILD 90520 2013-05-12 23:55:17Z seblu $
+# Maintainer: Sébastien Luttringer
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=keepalived
pkgver=1.2.7
-pkgrel=2
+pkgrel=3
pkgdesc='Failover and monitoring daemon for LVS clusters'
arch=('i686' 'x86_64')
url='http://www.keepalived.org/'
@@ -14,11 +14,11 @@ depends=('openssl' 'popt' 'libnl1')
source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz"
'keepalived.service')
md5sums=('8551a34ee048895dbe5350a031ff29c1'
- 'edbeda8c8777cf36110c1623e49bc5c9')
+ '0a5171f4298528315e8a8004b55befb7')
build() {
cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
make
}
@@ -31,10 +31,8 @@ package() {
install -d -m 755 "$pkgdir/usr/share/$pkgname"
mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples"
# systemd
- cd "$srcdir"
- install -D -m 644 $pkgname.service \
+ install -D -m 644 "$srcdir/$pkgname.service" \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
-
}
# vim:set ts=2 sw=2 et:
diff --git a/community/keepalived/keepalived.service b/community/keepalived/keepalived.service
index b96a8f474..a1bbeabb3 100644
--- a/community/keepalived/keepalived.service
+++ b/community/keepalived/keepalived.service
@@ -3,7 +3,7 @@ Description=Keepalive Daemon
After=network.target
[Service]
-ExecStart=/usr/sbin/keepalived --dont-fork
+ExecStart=/usr/bin/keepalived --dont-fork
[Install]
WantedBy=multi-user.target