33800 Docs

← Retour
#!/bin/bash # =========================================== # MOTD - Message of the Day - JELLYFIN # =========================================== # Couleurs CYAN='\033[0;36m' GREEN='\033[0;32m' YELLOW='\033[1;33m' RED='\033[0;31m' DIM='\033[2m' BOLD='\033[1m' NC='\033[0m' echo -e "${CYAN}" cat << 'EOF' ╔══════════════════════════════════════════════════════════════════╗ ║ 🎬 JELLYFIN - Media Server ║ ╠══════════════════════════════════════════════════════════════════╣ EOF echo -e "${NC}" echo -e "${BOLD} 🎬 MEDIAS${NC}" echo -e " ${GREEN}ls /mnt/*/${NC} Voir les points de montage" echo -e " ${GREEN}df -h${NC} Espace disque" echo -e " ${GREEN}du -sh${NC} <path> Taille d'un dossier" echo -e " ${GREEN}find${NC} /media -name '*.mkv' Chercher des fichiers" echo "" echo -e "${BOLD} 🔧 SERVICE JELLYFIN${NC}" echo -e " ${GREEN}sudo systemctl status jellyfin${NC} Status" echo -e " ${GREEN}sudo systemctl restart jellyfin${NC} Redémarrer" echo -e " ${GREEN}sudo journalctl -u jellyfin -f${NC} Logs en temps réel" echo "" echo -e "${BOLD} 📁 DOSSIERS${NC}" echo -e " Config: /etc/jellyfin/" echo -e " Data: /var/lib/jellyfin/" echo -e " Cache: /var/cache/jellyfin/" echo "" echo -e "${CYAN}╚══════════════════════════════════════════════════════════════════╝${NC}" echo "" echo -e "${DIM}IP: 192.168.1.199 | Jellyfin: http://jellyfin.local:8096${NC}" echo "" # Check mises à jour UPDATES=$(apt list --upgradable 2>/dev/null | grep -c upgradable) if [ "$UPDATES" -gt 0 ]; then echo -e "${YELLOW} ⚠️ MISES À JOUR DISPONIBLES: $UPDATES paquet(s)${NC}" echo -e "${DIM} sudo apt update && sudo apt upgrade -y${NC}" echo "" else echo -e "${GREEN} ✅ Système à jour${NC}" echo "" fi