For T164000 we made $wgPdfProcessor and $wgPdfPostProcessor use /usr/local/bin/mediawiki-firejail-ghostscript and /usr/local/bin/mediawiki-firejail-convert
But it was noted in T164045 that it caused a breakage
It probably makes sense longer term to find out why it's broken, and ideally fix it, and then reapply https://gerrit.wikimedia.org/r/#/c/350643/ / revert the revert in https://gerrit.wikimedia.org/r/#/c/350981/ and run it in production again
https://github.com/wikimedia/puppet/blob/production/modules/mediawiki/files/mediawiki-firejail-ghostscript
https://github.com/wikimedia/puppet/blob/production/modules/mediawiki/files/mediawiki-firejail-convert
https://github.com/wikimedia/puppet/blob/production/modules/mediawiki/files/mediawiki-converters.profile