diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-05 10:41:44 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-05 10:41:44 -0300 |
commit | 957557945e9be0a00d5153afc17f69ffe751426f (patch) | |
tree | 4d321dff70c4fdd1ee3fa5d64db0fdd0dc1dd2e8 /community/collectd | |
parent | cbba2111ae585b17594535ec01f13bac66937331 (diff) | |
parent | 67db4cf68dbdb364c4dee1599294d7701f3c3b0a (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/collectd/PKGBUILD
community/exim/PKGBUILD
community/nsd/PKGBUILD
extra/phonon-vlc/PKGBUILD
Diffstat (limited to 'community/collectd')
-rw-r--r-- | community/collectd/PKGBUILD | 9 | ||||
-rw-r--r-- | community/collectd/service | 13 |
2 files changed, 19 insertions, 3 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD index c0d6fe25a..393e75ca0 100644 --- a/community/collectd/PKGBUILD +++ b/community/collectd/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 71735 2012-06-02 10:28:04Z bluewind $ +# $Id: PKGBUILD 71904 2012-06-03 06:03:10Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Gerhard Brauer <gerhard.brauer@web.de> pkgname=collectd pkgver=5.1.0 -pkgrel=2 +pkgrel=3 pkgdesc='Daemon which collects system performance statistics periodically' -arch=('i686' 'x86_64' 'mips64el') url='http://collectd.org/' +arch=('i686' 'x86_64' 'mips64el') license=('GPL') optdepends=('curl: apache, ascent, curl, nginx, and write_http plugins' @@ -42,10 +42,12 @@ depends=('libltdl') source=("${url}files/${pkgname}-${pkgver}.tar.gz" 'rtnl_dump_filter.patch' 'libperl.patch' + 'service' 'rc.d') sha1sums=('55f17b17a10710641a9bf4e8c5332cef661cafcd' 'c92b8dacff0a71f2cc8645c2e350ff9bdc1cbd5f' '245c098d121a4a05594553583310953b3a2f6461' + 'b56907f532b9174e1b6995aadb518228d7464d3b' '0f441718d5519cb043b1130e5a1d0379078adbcc') backup=('etc/collectd.conf') @@ -75,5 +77,6 @@ package() { make DESTDIR="${pkgdir}" install install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}" + install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/collectd.service install -Dm644 contrib/collectd2html.pl "${pkgdir}"/usr/share/collectd/collectd2html.pl } diff --git a/community/collectd/service b/community/collectd/service new file mode 100644 index 000000000..9581ec0c9 --- /dev/null +++ b/community/collectd/service @@ -0,0 +1,13 @@ +[Unit] +Description=System statistics collection daemon +After=local-fs.target network.target + +[Service] +Type=forking +PIDFile=/run/collectdmon.pid +ExecStart=/usr/sbin/collectdmon +ExecReload=/bin/kill -HUP $MAINPID +Restart=always + +[Install] +WantedBy=multi-user.target |