# This file is part of duply.
#
# Common way of activating this service is via
# service manager:
#
# if 'humbug' is an existing duply profile in ~/.duply:
#
#  $ systemctl enable --now duply-cleanup@humbug.timer
#  $ systemctl list-timers
#
# Create drop-in units to override default interval:
#
#  Global override for all instances:
#   # mkdir /etc/systemd/system/duply-cleanup@.timer.d
#   # cat /etc/systemd/system/duply-cleanup@.timer.d/OnUnitActiveSec.conf
#   [Timer]
#   OnBootSec=15min
#   OnUnitActiveSec=4d
#
#  Override for a specific instance (humbug profile):
#   # mkdir /etc/systemd/system/duply-cleanup@humbug.timer.d
#   # cat /etc/systemd/system/duply-cleanup@humbug.timer.d/OnUnitActiveSec.conf
#   [Timer]
#   OnUnitActiveSec=2d
#
# Run systemctl daemon-reload
# as root after making any changes


[Unit]
Description=Run duply cleanup for %i in defined intervals

[Timer]
OnBootSec=60min
OnUnitActiveSec=7d
Persistent=true
 
[Install]
WantedBy=timers.target
