Files
gotenberg/_tests/configurations/wrong-office-command-template-gotenberg.yml
2018-04-04 15:17:04 +02:00

15 lines
435 B
YAML

port: 3000
logs:
level: "DEBUG"
format: "text"
commands:
html:
timeout: 30
template: "xvfb-run -e /dev/stdout wkhtmltopdf {{ .FilePath }} {{ .ResultFilePath }}"
office:
timeout: 30
template: "unoconv --format pdf --output \"{{ ResultFilePath }}\" \"{{ .FilePath }}\""
merge:
timeout: 30
template: "pdftk {{ range $filePath := .FilesPaths }} {{ $filePath }} {{ end }} cat output {{ .ResultFilePath }}"