add mail-payroll

Signed-off-by: Martin Matous <m@matous.dev>
This commit is contained in:
Martin Matous 2025-03-20 23:49:47 +01:00
parent effce90992
commit 514a2ac71d
Signed by: mmatous
GPG key ID: 8BED4CD352953224
4 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[Unit]
Description=Automatically unlock payroll attachments in mail
[Service]
EnvironmentFile=%h/.local/share/env/mail-payroll.env
ExecStart=%h/.local/bin/mail-payroll.py %h/.thunderbird/tjeb38hd.default-release/ImapMail/imap.centrum-2.cz/INBOX-2 %h/Nextcloud/Dokumenty/vyplata/disponero
[Install]
WantedBy=default.target