Vanguard media stack: ingest, copyparty, Syncthing, normalize sweep, Authentik, Jellyfin + Vanguard Metadata plugin, MariaDB, Gitea, bot runtime

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 15:43:30 -05:00
commit c602a6ff52
66 changed files with 4229 additions and 0 deletions

15
systemd/dumpd.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
RequiresMountsFor=/srv/media
Description=Dump-tonight endpoint (127.0.0.1:8080)
After=network.target
[Service]
ExecStart=/usr/bin/python3 /usr/local/bin/dumpd.py
Environment=DUMP_USERS=/etc/vanguard/dump-users.txt
Environment=DUMP_TZ=America/New_York
Restart=always
RestartSec=3
User=root
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Normalize finished recordings/clips to the editing standard
RequiresMountsFor=/srv/media
After=docker.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/normalize-sweep.sh
Nice=15
IOSchedulingClass=idle

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Run normalize sweep every 5 minutes
[Timer]
OnBootSec=2min
OnUnitActiveSec=5min
AccuracySec=30s
[Install]
WantedBy=timers.target

View File

@@ -0,0 +1,7 @@
[Unit]
RequiresMountsFor=/srv/media
Description=Purge dumped nights older than 3 days
[Service]
Type=oneshot
ExecStart=/usr/local/bin/trash-purge.sh

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Daily trash purge
[Timer]
OnCalendar=*-*-* 05:00:00
Persistent=true
[Install]
WantedBy=timers.target