[debian-lan-devel] [debian-lan] 05/06: Fix access to CUPS in combination with systemd.
Andreas B. Mundt
andi at moszumanska.debian.org
Wed Aug 27 09:00:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
andi pushed a commit to branch master
in repository debian-lan.
commit ef2a4a05a18d5046630d93406d52f6fd3558a44f
Author: Andreas B. Mundt <andi at debian.org>
Date: Wed Aug 27 10:25:08 2014 +0200
Fix access to CUPS in combination with systemd.
Remote access from the network needs to be allowed in the systemd
configuration file.
---
fai/config/scripts/CUPS_SERVER/10-config | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/fai/config/scripts/CUPS_SERVER/10-config b/fai/config/scripts/CUPS_SERVER/10-config
index 9137f3d..ae41f03 100755
--- a/fai/config/scripts/CUPS_SERVER/10-config
+++ b/fai/config/scripts/CUPS_SERVER/10-config
@@ -33,6 +33,15 @@ editfiles:
EndGroup
}
+ { ${target}/etc/cups/cupsd-systemd-listen.conf
+ BeginGroupIfNoSuchLine 'ListenStream=0.0.0.0:631'
+ HashCommentLinesStarting 'ListenStream='
+ AppendIfNoSuchLine '# Allow remote access:'
+ AppendIfNoSuchLine 'ListenStream=0.0.0.0:631'
+ AppendIfNoSuchLine 'ListenStream=[::]:631'
+ EndGroup
+ }
+
# Comparable script:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/debian-lan.git
More information about the debian-lan-devel
mailing list