From b09759e4a2a348d6bdd1fef9593871e9e0a75a68 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 2 Jun 2019 16:26:47 -0500
Subject: [PATCH] services: cups: Create /var/cache on activation.
* gnu/services/cups.scm (%cups-activation): Create /var/cache if it doesn't
exist yet.
---
gnu/services/cups.scm | 2 ++
1 file changed, 2 insertions(+)
@@ -2,6 +2,7 @@
;;; Copyright © 2016 Andy Wingo <wingo@pobox.com>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -897,6 +898,7 @@ IPP specifications.")
(mkdir-p/perms "/var/log/cups" user #o755)
(mkdir-p/perms "/etc/cups" user #o755)
(mkdir-p/perms "/etc/cups/ssl" user #o700)
+ (mkdir-p/perms "/var/cache" user #o770)
;; This certificate is used for HTTPS connections to the CUPS web
;; interface.
(create-self-signed-certificate-if-absent
--
2.21.0