summaryrefslogtreecommitdiff
path: root/community/rsyslog/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rsyslog/PKGBUILD')
-rw-r--r--community/rsyslog/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/rsyslog/PKGBUILD b/community/rsyslog/PKGBUILD
index dbd439de8..eb52e98f4 100644
--- a/community/rsyslog/PKGBUILD
+++ b/community/rsyslog/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 72439 2012-06-14 15:09:58Z spupykin $
+# $Id: PKGBUILD 73703 2012-07-14 13:07:25Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=rsyslog
pkgver=6.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability"
url="http://www.rsyslog.com/"
arch=('i686' 'x86_64')
@@ -51,6 +51,8 @@ package() {
install -D -m644 $srcdir/${pkgname}.logrotate ${pkgdir}/etc/logrotate.d/${pkgname}
install -D -m644 ${srcdir}/${pkgname}.conf.d ${pkgdir}/etc/conf.d/${pkgname}
- # fix location of systemctl
- sed -i 's@/bin/systemctl@/usr&@' "$pkgdir/usr/lib/systemd/system/rsyslog.service"
+ # fix location of systemctl and remove start precondition
+ sed -i "$pkgdir/usr/lib/systemd/system/rsyslog.service" \
+ -e 's@/bin/systemctl@/usr&@' \
+ -e '/^ExecStartPre/d'
}