Add SQL query patterns documentation and Linux package build scripts

- Created `TV_SHOWS_SQL_QUERY_PATTERNS.md` to document SQL query patterns for TV shows, including performance issues and missing indexes.
- Added `README.md` for Linux package building, detailing steps for creating Debian and Red Hat packages.
- Implemented build scripts for Debian and Red Hat, including service files and post-installation hooks.
- Added necessary scripts for managing Jellyfin service lifecycle on both Debian and Red Hat systems.
- Included package specifications and installation instructions for both distributions.
This commit is contained in:
2026-07-14 10:32:56 -04:00
parent e51d3577ce
commit 8914f4dce9
29 changed files with 4123 additions and 31 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Jellyfin prerm script - runs before package removal
set -e
# Stop the service
if [[ -f /etc/systemd/system/jellyfin.service ]]; then
systemctl stop jellyfin.service || true
systemctl disable jellyfin.service || true
fi
exit 0