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

8 lines
157 B
SYSTEMD
Raw Normal View History

2021-06-19 13:10:59 +02:00
[Unit]
Description=delete old backups
OnFailure=systemd-email@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python /usr/local/bin/backups-cleanup.py