Gargoyle | Greeting snap experts. I'm having a problem with chromium confinement. I'm using it in headless mode for HTML to PDF generation, and the command works fine when testing Eg. /snap/bin/chromium --headless --disable-gpu --print-to-pdf=/var/tmh/order_invoices/d05b46d8-16d9-11eb-8a76-024ef891f3e0 --print-to-pdf-no-header --no-sandbox https://localhost/something_to_pdf | 16:05 |
---|---|---|
Gargoyle | Sorry, it works when "--print-to-pdf=somefile.pdf" because I'm running it from $HOME. However, I now need to run it from nginx/php and find a location I can temporarily store the PDF to be read back in by PHP | 16:07 |
Gargoyle | Can't use /tmp because of private temp dirs. | 16:08 |
=== popey5 is now known as popey |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!