summaryrefslogtreecommitdiff
path: root/community/atop
diff options
context:
space:
mode:
Diffstat (limited to 'community/atop')
-rw-r--r--community/atop/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/atop/PKGBUILD b/community/atop/PKGBUILD
index b16073d67..4755c9c88 100644
--- a/community/atop/PKGBUILD
+++ b/community/atop/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 75558 2012-08-27 08:48:21Z spupykin $
+# $Id: PKGBUILD 75922 2012-09-05 14:45:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: John Gerritse <john.gerritse@gmail.com>
pkgname=atop
pkgver=1.27_3
-pkgrel=2
+pkgrel=3
pkgdesc="A system and process level monitor."
arch=(i686 x86_64)
url="http://www.atoptool.nl/"
@@ -25,4 +25,6 @@ package() {
rm -f $pkgdir/etc/cron.d/atop
install -dm0755 $pkgdir/etc/cron.daily
mv $pkgdir/etc/atop/atop.daily $pkgdir/etc/cron.daily/atop
+ sed -i 's|/etc/atop/atop.daily|/etc/cron.daily/atop|g' $pkgdir/etc/rc.d/atop
+ install -Dm0644 atop.service $pkgdir/usr/lib/systemd/system/atop.service
}