summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornroi2016-12-29 17:36:58 +0100
committernroi2016-12-29 17:36:58 +0100
commite732a63bec32d321068ae2ab8df1a5cb018159eb (patch)
tree9977f2b5b7dfa26551baa96b187d6be802b871bc
parentf84084ac6023e1689621f97018bea116c3c25e15 (diff)
downloadaur-e732a63bec32d321068ae2ab8df1a5cb018159eb.tar.gz
Modify service file: Ensure clean shutdown
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--cpcache.service2
3 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 15e9b26d9cf..0833da824e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,7 +20,7 @@ pkgbase = cpcache-git
sha256sums = SKIP
sha256sums = 0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309
sha256sums = e326c1097269a47a35fe327d839a566d90888339f7cc00b2207e0accf441e6cd
- sha256sums = 4dbfd2b7934438fdde9b182b5e455f04176865063c8943be06bdfdf82ce38529
+ sha256sums = 0523a85ce955f9a221340a2bcd8b3f2543dc817469e36623db06630bea925918
pkgname = cpcache-git
diff --git a/PKGBUILD b/PKGBUILD
index 65b92fe33fc..a38c4aec16e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ source=('git+https://github.com/nroi/cpcache.git'
sha256sums=('SKIP'
'0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309'
'e326c1097269a47a35fe327d839a566d90888339f7cc00b2207e0accf441e6cd'
- '4dbfd2b7934438fdde9b182b5e455f04176865063c8943be06bdfdf82ce38529'
+ '0523a85ce955f9a221340a2bcd8b3f2543dc817469e36623db06630bea925918'
)
pkgver() {
diff --git a/cpcache.service b/cpcache.service
index d6524169ecf..bfb463cca34 100644
--- a/cpcache.service
+++ b/cpcache.service
@@ -4,6 +4,8 @@ After=network.target
[Service]
Type=simple
+KillMode=process
+TimeoutSec=10
User=cpcache
Group=cpcache
ExecStart=/usr/share/cpcache/bin/cpcache foreground