repo.or.cz
/
moggers87-useful.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Unit files for systemd
[moggers87-useful.git]
/
templates
/
backup.service
blob
b91d81dac3e5a6764cfd322bc5092d3537fbad5d
1
[Unit]
2
Description=Backup with restic
3
Wants=backup.timer
4
StartLimitInterval=200
5
StartLimitBurst=5
6
7
[Service]
8
Nice=19
9
IOSchedulingClass=idle
10
IOSchedulingPriority=7
11
Type=oneshot
12
ExecStart=${prefix}/bin/backup.sh backup
13
Environment=BACKUP_CONFIG=/etc/moggers87/backuprc
14
Environment=HOME=/etc/moggers87
15
Restart=on-failure
16
RestartSec=30
17
18
[Install]
19
WantedBy=multi-user.target