mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-12 12:06:29 +03:00
15 lines
473 B
Desktop File
15 lines
473 B
Desktop File
[Unit]
|
|
Description=Restic backup job
|
|
Documentation=https://restic.readthedocs.io/en/stable/
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# Create this file locally with mode 0600. Do not commit secrets.
|
|
EnvironmentFile=/etc/restic/backup.env
|
|
# Replace with the local protected wrapper that sets sources and tags.
|
|
ExecStart=/usr/local/sbin/restic-backup
|
|
# Preserve useful logs in journald; do not enable shell tracing in the wrapper.
|
|
Nice=10
|
|
IOSchedulingClass=best-effort
|
|
IOSchedulingPriority=7
|