diff options
author | nroi | 2017-02-24 19:34:01 +0100 |
---|---|---|
committer | nroi | 2017-02-24 19:34:01 +0100 |
commit | f55f89a4a719eda1d9f30a11a7b00420a7bed768 (patch) | |
tree | b429fa5c1b9e9b026672f8d897c86e27f1ec1032 | |
parent | a8b503f903b4587588df93434d1807dedbd72fcd (diff) | |
download | aur-f55f89a4a719eda1d9f30a11a7b00420a7bed768.tar.gz |
Update systemd service file
Increase timeout. Accept 143 as exit code.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | cpcache.service | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -20,7 +20,7 @@ pkgbase = cpcache-git sha256sums = SKIP sha256sums = 0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309 sha256sums = a6ce949fba102e2f0904622d1f0417be15eee01e76516f80af1aa36a6c8ea312 - sha256sums = bf7ce69ec3df1a1f753df76998607331c0209f7dcd6564f0818cd6e86f4af1ba + sha256sums = 88654887a0ad506491778d98dad79004529340e47534538ae2401649ffc94a1b sha256sums = 6deb112ac11a43a65891f8dcfa6844ca91c4852b8091e354caeac6afd7e00319 pkgname = cpcache-git @@ -18,7 +18,7 @@ source=('git+https://github.com/nroi/cpcache.git' sha256sums=('SKIP' '0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309' 'a6ce949fba102e2f0904622d1f0417be15eee01e76516f80af1aa36a6c8ea312' - 'bf7ce69ec3df1a1f753df76998607331c0209f7dcd6564f0818cd6e86f4af1ba' + '88654887a0ad506491778d98dad79004529340e47534538ae2401649ffc94a1b' '6deb112ac11a43a65891f8dcfa6844ca91c4852b8091e354caeac6afd7e00319' ) diff --git a/cpcache.service b/cpcache.service index dbbdc8209b14..fcf300095d22 100644 --- a/cpcache.service +++ b/cpcache.service @@ -4,8 +4,10 @@ After=network.target [Service] Type=simple +# Shutdown can be somewhat sluggish on low-end devices like the RPi. +TimeoutSec=30 +SuccessExitStatus=143 KillMode=process -TimeoutSec=10 User=cpcache Group=cpcache Environment="ELIXIR_ERL_OPTIONS=-sname cpcache -mnesia dir '/var/cache/cpcache/mnesia'" |