A while ago I built a PDF to ebook generator, I had to updated my imagemagick security policy at /etc/ImageMagick-6/policy.xml to allow PDF read/write so I could generate the images from the PDF pages:
<policy domain="coder" rights="read | write" pattern="PDF" />
At some point recently my ebook generator stopped working, I don't know how long it's been down. A client called me asking why their ebook isn't working.. I checked the error logs and saw the security policy error. When I checked the line in policy.xml and it reverted to:
<policy domain="coder" rights="none" pattern="PDF" />
I'm assuming it got overwritten by either an automatic update or a manual enhance update. What can I do to make sure this setting doesn't get reverted? Do I just have to check it and fix it every time I do a server update?