summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Dray2015-08-19 14:55:04 +1000
committerJustin Dray2015-08-19 14:55:04 +1000
commit6e2450de15ecd885fa8ce83d4377ec8276eb2a3b (patch)
treeaed098e0808b7b10adedb319b78d49b3b23c3bed
parent0ef73f327af09a828500de416277d208588cb8de (diff)
downloadaur-6e2450de15ecd885fa8ce83d4377ec8276eb2a3b.tar.gz
Set the service to have a shorter timeout on shutdown; diamond stores no data so there is no problem killing it faster.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--diamond-4.0.41.tar.gzbin0 -> 193663 bytes
-rw-r--r--diamond.service1
4 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a401c774c6d..fca2c3f5a27 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = diamond
pkgdesc = Diamond is daemon that collects system metrics and publishes them to graphite and others
pkgver = 4.0.41
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/python-diamond/Diamond
arch = any
license = mit
@@ -16,7 +16,7 @@ pkgbase = diamond
source = https://pypi.python.org/packages/source/d/diamond/diamond-4.0.41.tar.gz
source = diamond.service
md5sums = 063ee62fc30a678260df582335a583c3
- md5sums = 98d7bd00ba751ab416c325eda82e740f
+ md5sums = 4294f34a8a4644c28788b997dcb4ba22
pkgname = diamond
diff --git a/PKGBUILD b/PKGBUILD
index 53774ca92bc..ab81dbcfb96 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=diamond
pkgver=4.0.41
-pkgrel=2
+pkgrel=3
pkgdesc="Diamond is daemon that collects system metrics and publishes them to graphite and others"
arch=(any)
url="https://github.com/python-diamond/Diamond"
@@ -18,7 +18,7 @@ backup=(etc/diamond/diamond.conf)
source=("https://pypi.python.org/packages/source/d/diamond/diamond-${pkgver}.tar.gz"
'diamond.service')
md5sums=('063ee62fc30a678260df582335a583c3'
- '98d7bd00ba751ab416c325eda82e740f')
+ '4294f34a8a4644c28788b997dcb4ba22')
package() {
cd "$srcdir/diamond-${pkgver}"
diff --git a/diamond-4.0.41.tar.gz b/diamond-4.0.41.tar.gz
new file mode 100644
index 00000000000..37f0d14e4ea
--- /dev/null
+++ b/diamond-4.0.41.tar.gz
Binary files differ
diff --git a/diamond.service b/diamond.service
index efe5070a4f3..144d7bcc909 100644
--- a/diamond.service
+++ b/diamond.service
@@ -4,6 +4,7 @@ After=network.target
[Service]
ExecStart=/usr/bin/diamond --foreground
+TimeoutStopSec=2
[Install]
WantedBy=multi-user.target