summarylogtreecommitdiffstats
path: root/cpcache.service
diff options
context:
space:
mode:
Diffstat (limited to 'cpcache.service')
-rw-r--r--cpcache.service4
1 files changed, 3 insertions, 1 deletions
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'"