2021-04-21 15:58:16 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'sane-utils': {},
|
|
|
|
'scanbd': {},
|
|
|
|
'imagemagick': {},
|
|
|
|
'ocrmypdf': {},
|
|
|
|
'tesseract-ocr-deu': {},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backups': {
|
|
|
|
'paths': {
|
2022-01-13 14:54:49 +00:00
|
|
|
'/srv/scansnap',
|
2021-04-21 15:58:16 +00:00
|
|
|
},
|
|
|
|
},
|
2021-04-21 16:20:47 +00:00
|
|
|
'cron': {
|
|
|
|
# Automatically remove files which are older than 14 days
|
2021-05-19 04:35:18 +00:00
|
|
|
'scansnap_cleanup': '00 00 * * * root /usr/bin/find /srv/scansnap/ -mindepth 1 -mtime +14 -delete',
|
2021-04-21 16:20:47 +00:00
|
|
|
},
|
2021-04-21 15:58:16 +00:00
|
|
|
}
|