A spare-machine Gitea forge, hardened, backed up and with CI, as a template. Personal values are placeholders listed in the README.
12 lines
324 B
Desktop File
12 lines
324 B
Desktop File
[Unit]
|
|
Description=Nightly Gitea backup to the restic repo on the backup drive
|
|
Documentation=file:///home/admin/mithlond/OKF/guides/11-backup-automated.md
|
|
Requires=docker.service
|
|
After=docker.service
|
|
OnFailure=gitea-backup-failed.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/sbin/gitea-backup run
|
|
TimeoutStartSec=2h
|