diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-06-15 18:52:31 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-06-15 18:53:29 (EDT) |
commit | c2f4a52d064511b3564e75b383115d02d15a9856 (patch) | |
tree | 1279f65aeefd2d3805242997e7765b63e9f6cdbb /hosts/logi1/postinst | |
parent | 44dde70123e2e6eead6f93e7632bddd4a16aff87 (diff) | |
download | pc-inst-c2f4a52d064511b3564e75b383115d02d15a9856.zip pc-inst-c2f4a52d064511b3564e75b383115d02d15a9856.tar.gz pc-inst-c2f4a52d064511b3564e75b383115d02d15a9856.tar.bz2 |
logi1: Increase ImageMagick resource limits
Diffstat (limited to 'hosts/logi1/postinst')
-rw-r--r-- | hosts/logi1/postinst | 4 |
1 files changed, 4 insertions, 0 deletions
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 |