summaryrefslogtreecommitdiff
path: root/extra/watchdog
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
committerroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
commitcc57cb201ddb179d2bb481c13dd4f286ae643b12 (patch)
tree7932470d6b8a193c032f1012a7996cc78ea52201 /extra/watchdog
parent1f86bf1b08cb980cea57c1d4d3187e2251f5a63b (diff)
Tue Jun 4 00:27:56 PDT 2013
Diffstat (limited to 'extra/watchdog')
-rw-r--r--extra/watchdog/PKGBUILD12
-rw-r--r--extra/watchdog/watchdog.systemd2
2 files changed, 9 insertions, 5 deletions
diff --git a/extra/watchdog/PKGBUILD b/extra/watchdog/PKGBUILD
index df19144f9..802d06d87 100644
--- a/extra/watchdog/PKGBUILD
+++ b/extra/watchdog/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 178840 2013-02-27 15:05:46Z thomas $
+# $Id: PKGBUILD 187076 2013-06-03 11:17:02Z allan $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=watchdog
pkgver=5.13
-pkgrel=1
+pkgrel=2
pkgdesc="Watchdog daemon"
arch=(i686 x86_64)
url="http://sourceforge.net/projects/watchdog"
@@ -15,14 +15,18 @@ source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
watchdog.systemd)
md5sums=('153455f008f1cf8f65f6ad9586a21ff1'
'c90c2686975b5254f82b3de683f1f442'
- 'a835ae5cbdbb21c19a468dedb5d734e4')
+ '06677f094ec76b7fbb7b0db141209dec')
+prepare() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/watchdog-5.12-fix-oom-in-wd_keepalive.patch
+}
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/watchdog-5.12-fix-oom-in-wd_keepalive.patch
./configure \
--prefix=/usr \
+ --sbindir=/usr/bin \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--localstatedir=/var \
diff --git a/extra/watchdog/watchdog.systemd b/extra/watchdog/watchdog.systemd
index 57c73fb45..4bd08f95c 100644
--- a/extra/watchdog/watchdog.systemd
+++ b/extra/watchdog/watchdog.systemd
@@ -4,7 +4,7 @@ Description=Watchdog Daemon
[Service]
Type=forking
PIDFile=/run/watchdog.pid
-ExecStart=/usr/sbin/watchdog
+ExecStart=/usr/bin/watchdog
[Install]
WantedBy=multi-user.target