added systemd services

This commit is contained in:
nd 2021-03-13 21:00:27 +01:00
parent 420be44f56
commit baa9bd7bed
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
8 changed files with 67 additions and 5 deletions

View file

@ -0,0 +1,10 @@
[Unit]
Description=Delete no longer needed backups
OnFailure=status-email-root@%n.service
[Service]
Nice=19
IOSchedulingClass=idle
Type=simple
ExecStart=/usr/local/bin/backup-retention