Debian Codegraph @

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

raw
1 # This file is part of duply.
2 #
3 # Common way of activating this service is via
4 # service manager:
5 #
6 # if 'humbug' is an existing duply profile in ~/.duply:
7 #
8 # $ systemctl start [email protected]
9 #
10
11 [Unit]
12 Description=Duply backup for %I
13 After=local-fs.target time-sync.target
14 Conflicts=shutdown.target
15 Before=shutdown.target
16 OnFailure=notify-failed-backup@%n
17 Documentation=https://www.duply.net/wiki/index.php/Duply-documentation
18
19 [Service]
20 Type=oneshot
21 # HOME must point to root's home so that duply can locate the profile
22 Environment="HOME=/root"
23 ExecStart=/usr/bin/duply %i backup
24 IOSchedulingClass=idle
25
26 [Install]
27 WantedBy=multi-user.target