optimized backups-cleanup

This commit is contained in:
2021-06-19 13:10:59 +02:00
parent 85ffc968df
commit 6a5db94ade
7 changed files with 52 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
[Unit]
Description=delete old backups
OnFailure=systemd-email@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python /usr/local/bin/backups-cleanup.py