# This file is part of duply. # # Common way of activating this service is via # service manager of a user: # # if 'humbug' is an existing duply profile in ~/.duply: # # $ systemctl --user start duply-cleanup@humbug.service # [Unit] Description=Duply cleanup of old backups for %I After=local-fs.target time-sync.target duply-backup@%i.service duply-verify@%i.service Conflicts=shutdown.target Before=shutdown.target OnFailure=notify-failed-backup@%n Documentation=https://duply.net/wiki/index.php/Duply-documentation [Service] Type=oneshot ExecStart=sh -c "/usr/bin/duply %i purgeAuto --force; /usr/bin/duply %i cleanup --force" IOSchedulingClass=idle [Install] WantedBy=multi-user.target