-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdfbrew.yaml
54 lines (41 loc) · 1.23 KB
/
pdfbrew.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
# which folder to watch for changes
# containts pairs of input and output folders
watch :
/tmp/in : /tmp/out
# delete original file if it fails to convert for
# the specified number of tries
# if set to no it will continue trying indefinetly
delete_onfail : yes
# copy original file in the output_folder
# alongside the converted one
# resets delete_original to True
copy_original: no
# debug level
loglevel: INFO
# logfile
logfile : pdfbrew.log
# directory polling interval
polling_interval: 15
# number of tries for failed attempts
fail_tries: 10
# how long to keep converted files (in seconds)
purge_age: 1209600
# how often to run purge old files job (default every day at 00:05)
# uses crontab expressions
purge_int : '5 0 * * *'
# how often to remove stale error files (default 1 hour in seconds)
purge_err_int: 3600
# number of convert worker threads
num_workers: 4
# filetypes to convert from
# ignores other files in input dir
filetypes:
- application/postscript
- application/pdf
- text/plain
- application/octet-stream
# ps2pdf args
# string RANDOMPASS will be replaced with a random password
# use for g.g. -sOwnerPassword if you want to have a random one
ps2pdf_opts : -dCompatibility=1.4 -sOwnerPassword=RANDOMPASS