]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
scheduler/cups.socket.in: Add RemoveOnStop directive
authorZdenek Dohnal <zdohnal@redhat.com>
Tue, 15 Mar 2022 07:13:17 +0000 (08:13 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Tue, 15 Mar 2022 07:13:17 +0000 (08:13 +0100)
Turn on RemoveOnStop directive, which removes the domain socket file
once the socket unit is stopped, which follows UNIX programming
practice.

scheduler/cups.socket.in

index 3c37d72132767d331840848eba8a2412d12b5c21..a10f5d17041503e6055e1beb56455cbcceed57ce 100644 (file)
@@ -4,6 +4,7 @@ PartOf=cups.service
 
 [Socket]
 ListenStream=@CUPS_DEFAULT_DOMAINSOCKET@
+RemoveOnStop=on
 
 [Install]
 WantedBy=sockets.target