home.paperless: add proftpd for paperless ingest

This commit is contained in:
Franzi 2024-09-08 19:42:27 +02:00
parent 40fcaf56ee
commit 3f9f84f230
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 119 additions and 0 deletions

13
bundles/proftpd/items.py Normal file
View file

@ -0,0 +1,13 @@
files['/etc/proftpd/proftpd.conf'] = {
'source': f'{node.name}.conf',
'triggers': {
'svc_systemd:proftpd:restart',
},
}
svc_systemd['proftpd'] = {
'needs': {
'file:/etc/proftpd/proftpd.conf',
'pkg_apt:proftpd-core',
},
}