From c2f4a52d064511b3564e75b383115d02d15a9856 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Jun 2018 18:52:31 -0400 Subject: logi1: Increase ImageMagick resource limits --- diff --git a/hosts/logi1/im6-policy.xml b/hosts/logi1/im6-policy.xml new file mode 100644 index 0000000..e729b0e --- /dev/null +++ b/hosts/logi1/im6-policy.xml @@ -0,0 +1,73 @@ + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst index 4ed9153..95c813e 100644 --- a/hosts/logi1/postinst +++ b/hosts/logi1/postinst @@ -105,6 +105,10 @@ Section "Device" EndSection EOF +# Increase ImageMagick resource limits. +install -u 0 -g 0 -m 0644 "$(dirname "${0}")/hosts/${host}/im6-policy.xml" \ + "${target}/etc/ImageMagick-6/policy.xml" + # Add user to groups created by postinst_pkgs. in_target adduser pj scanner || return 1 in_target adduser pj wireshark || return 1 -- cgit v0.9.1