summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Angelopoulos2015-12-28 03:39:20 +0100
committerGeorge Angelopoulos2015-12-28 03:39:20 +0100
commitf4d2e7052c2755de32085639833531195c3e3a3a (patch)
tree0f5a49b41528bc4467eec465a7cbcc7fe4d06ceb
parent1ccfc26fd8aa70dbbc73173593eb25b10701102c (diff)
downloadaur-f4d2e7052c2755de32085639833531195c3e3a3a.tar.gz
add PIDFile to systemd service
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--collectl.service1
3 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e4f52b68fd2..0b0f9758fc4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Dec 28 01:47:06 UTC 2015
+# Mon Dec 28 02:38:46 UTC 2015
pkgbase = collectl
pkgdesc = A tool for viewing and gethering system performance metrics.
pkgver = 4.0.2
- pkgrel = 2
+ pkgrel = 3
url = http://collectl.sourceforge.net/
arch = any
license = GPL2
@@ -13,7 +13,7 @@ pkgbase = collectl
source = http://sourceforge.net/projects/collectl/files/collectl/collectl-4.0.2/collectl-4.0.2.src.tar.gz
source = collectl.service
md5sums = 8502fbb30539e6f9ac962b8577a863b4
- md5sums = 5a8892732fb5a7d64c7071394024eff8
+ md5sums = 1a840bf752b462164d9192a5d51816d3
pkgname = collectl
diff --git a/PKGBUILD b/PKGBUILD
index 0a7ea4c7907..82fb2e761b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=collectl
pkgver=4.0.2
-pkgrel=2
+pkgrel=3
pkgdesc="A tool for viewing and gethering system performance metrics."
arch=('any')
url="http://collectl.sourceforge.net/"
@@ -16,7 +16,7 @@ backup=('etc/collectl.conf')
source=("http://sourceforge.net/projects/collectl/files/collectl/${pkgname}-${pkgver}/${pkgname}-${pkgver}.src.tar.gz"
"collectl.service")
md5sums=('8502fbb30539e6f9ac962b8577a863b4'
- '5a8892732fb5a7d64c7071394024eff8')
+ '1a840bf752b462164d9192a5d51816d3')
package() {
cd "${pkgname}-${pkgver}"
diff --git a/collectl.service b/collectl.service
index a2bd7157d0f..1aaf1b1c4de 100644
--- a/collectl.service
+++ b/collectl.service
@@ -3,6 +3,7 @@ Description=collectl metric collection
[Service]
Type=forking
+PIDFile=/var/run/collectl.pid
ExecStart=/usr/bin/collectl -D
ExecReload=/bin/kill -USR1 $MAINPID