Initial own-git docs, configs, scripts, and hardening pack

This commit is contained in:
PTah
2026-04-21 21:37:43 +10:00
commit f5899ebc56
25 changed files with 1843 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=Run Gitea backup script
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/opt/owngit/scripts/backup-gitea.sh
User=root
Group=root
[Install]
WantedBy=multi-user.target
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Daily Gitea backup timer
[Timer]
OnCalendar=*-*-* 03:10:00
Persistent=true
RandomizedDelaySec=3m
Unit=gitea-backup.service
[Install]
WantedBy=timers.target