summaryrefslogtreecommitdiff
path: root/community/rsyslog
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-16 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-07-16 00:01:23 +0000
commit50a1eb604b2d5503a06d56b76347faa581160245 (patch)
tree0d29be50534518ab002e0e6da90300006b3aca58 /community/rsyslog
parent1ed995034acd07688fe8e78b1d40901bcc662155 (diff)
Mon Jul 16 00:01:23 UTC 2012
Diffstat (limited to 'community/rsyslog')
-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'
}