summaryrefslogtreecommitdiff
path: root/scheduler
diff options
context:
space:
mode:
authorFedericoYundt <FedericoYundt@users.noreply.github.com>2018-04-18 08:40:59 +0100
committerGitHub <noreply@github.com>2018-04-18 08:40:59 +0100
commit4e02be68c10f4aa06077806eb1f719bbbfe98522 (patch)
tree1a4b0536aa079aa589783eda6b19b858beea948c /scheduler
parent0873f681e43c04972b3d6bc90bdbdedb29e6e913 (diff)
Allow cupsd daemon to exit on idle
When using socket activation cups daemon can safely exit on idle and be automatically started when it's needed. Using Restart=always prevent this behavior and causes cups daemon constantly restarting itself instead of exiting. Users reported[1] that Restart=on-failure was enough to fix issues[2] so Restart=always may be unnecessary and harmful. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861470 [2] https://github.com/apple/cups/issues/5263
Diffstat (limited to 'scheduler')
-rw-r--r--scheduler/org.cups.cupsd.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/org.cups.cupsd.service.in b/scheduler/org.cups.cupsd.service.in
index 50faa3960..f2afa1124 100644
--- a/scheduler/org.cups.cupsd.service.in
+++ b/scheduler/org.cups.cupsd.service.in
@@ -5,7 +5,7 @@ Documentation=man:cupsd(8)
[Service]
ExecStart=@sbindir@/cupsd -l
Type=simple
-Restart=always
+Restart=on-failure
[Install]
Also=org.cups.cupsd.socket org.cups.cupsd.path