shutup.sh: Remove --prune from git fetch as it interferes with git-bug
[moggers87-useful.git] / templates / backup.service
blob1e19fe41d7763ecd6b7a0a579d0646f49357f543
1 [Unit]
2 Description=Backup with restic
3 Wants=backup.timer
4 StartLimitInterval=200
5 StartLimitBurst=5
6 After=network-online.target
8 [Service]
9 Nice=19
10 IOSchedulingClass=idle
11 IOSchedulingPriority=7
12 Type=oneshot
13 ExecStart=${prefix}/bin/backup.sh backup
14 Environment=BACKUP_CONFIG=/etc/moggers87/backuprc
15 Environment=HOME=/etc/moggers87
16 Restart=on-failure
17 RestartSec=30
19 [Install]
20 WantedBy=multi-user.target