From 1157832777d18f614cee9f396d8f34a938adb796 Mon Sep 17 00:00:00 2001
From: Didier Raboud <odyx@debian.org>
Date: Mon, 24 Feb 2020 11:46:49 +0100
Subject: [PATCH] Add Requires=cups.socket to cups.service, to make sure they
 start in the right order

Conflict:NA
Reference:https://github.com/OpenPrinting/cups/commit/1157832777d18f614cee9f396d8f34a938adb796

---
 scheduler/org.cups.cupsd.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scheduler/org.cups.cupsd.service.in b/scheduler/org.cups.cupsd.service.in
index baa82b7..e71d391 100644
--- a/scheduler/org.cups.cupsd.service.in
+++ b/scheduler/org.cups.cupsd.service.in
@@ -3,6 +3,7 @@ Description=CUPS Scheduler
 Documentation=man:cupsd(8)
 After=network.target ypbind.service
 After=sssd.service
+Requires=cups.socket
 
 [Service]
 ExecStart=@sbindir@/cupsd -l
-- 
2.27.0

