computer-playbook/roles/native-backups-cleanup/files/backups-cleanup.service

8 lines
157 B
Desktop File

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