- Add Jellyfin backend to HAProxy configuration on titania.incus - Simplify deployment by using community.docker.docker_compose_v2 module - Consolidate handlers and remove redundant Docker commands - Update Jellyfin systemd service from oneshot to simple type - Remove PUID/PGID environment variables from docker-compose template
18 lines
353 B
Django/Jinja
18 lines
353 B
Django/Jinja
---
|
|
[Unit]
|
|
Description=Jellyfin Docker Compose Service
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory={{ jellyfin_directory }}
|
|
User={{ jellyfin_user }}
|
|
ExecStart=/usr/bin/docker compose up --remove-orphans
|
|
ExecStop=/usr/bin/docker compose down
|
|
Restart=on-failure
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|