Add automated install and stable updates

This commit is contained in:
Codex
2026-03-16 18:52:51 +08:00
parent 39f4066d85
commit f73e401748
5 changed files with 314 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Update backup_OBS scripts from Git
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=__RUN_USER__
WorkingDirectory=__WORKDIR__
ExecStart=__WORKDIR__/update.sh stable
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Run backup_OBS updater periodically
[Timer]
OnBootSec=10m
OnUnitActiveSec=1h
Persistent=true
Unit=backup-obs-update.service
[Install]
WantedBy=timers.target