Debian Codegraph @

systemd-unit.examples/user/[email protected]

raw
1 # This file is part of duply.
2 #
3 # Common way of activating this service is via
4 # service manager of a user:
5 #
6 # if 'humbug' is an existing duply profile in ~/.duply:
7 #
8 # $ systemctl --user start [email protected]
9 #
10
11 [Unit]
12 Description=Duply cleanup of old backups for %I
13 After=local-fs.target time-sync.target duply-backup@%i.service duply-verify@%i.service
14 Conflicts=shutdown.target
15 Before=shutdown.target
16 OnFailure=notify-failed-backup@%n
17 Documentation=https://duply.net/wiki/index.php/Duply-documentation
18
19 [Service]
20 Type=oneshot
21 ExecStart=sh -c "/usr/bin/duply %i purgeAuto --force; /usr/bin/duply %i cleanup --force"
22 IOSchedulingClass=idle
23
24 [Install]
25 WantedBy=multi-user.target