20 lines
526 B
Desktop File
20 lines
526 B
Desktop File
[Unit]
|
|
Description=Back up /home/gib/Server to the ZFS pool
|
|
Documentation=file:///home/gib/Server/RESTORE.md
|
|
# The destination is on ZFS; do not run before the pool is up.
|
|
After=zfs-mount.service docker.service
|
|
Wants=zfs-mount.service
|
|
RequiresMountsFor=/home/gib/Public
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/sbin/server-backup
|
|
TimeoutStartSec=8h
|
|
# This box is a daily driver running 145 containers. Stay out of the way.
|
|
Nice=10
|
|
IOSchedulingClass=best-effort
|
|
IOSchedulingPriority=7
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|