update to v10.5 and add cache dir config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-03-14 14:25:13 +01:00
parent 21e014dc84
commit 9834d49004
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
---
jellyfin_version: 10.3.7
jellyfin_version: 10.5.0
jellyfin_user: jellyfin
jellyfin_user_home: "/home/{{ jellyfin_user }}"
jellyfin_group: "{{ jellyfin_user }}"
@ -9,6 +9,7 @@ jellyfin_base_dir: "/opt/jellyfin"
jellyfin_conf_dir: "{{ jellyfin_base_dir }}/config"
jellyfin_data_dir: "{{ jellyfin_base_dir }}/data"
jellyfin_log_dir: "{{ jellyfin_base_dir }}/log"
jellyfin_cache_dir: "{{ jellyfin_base_dir }}/cache"
jellyfin_packages_extra: []
@ -19,7 +20,7 @@ jellyfin_packages_extra: []
jellyfin_log_level_console: Fatal
jellyfin_log_level_file: Information
jellyfin_selinux_fcontext:
jellyfin_selinux_fcontext:
- target: "{{ jellyfin_log_dir }}(/.*)?"
setype: var_log_t
jellyfin_selinux_restorecon:

View File

@ -12,6 +12,7 @@
- "{{ jellyfin_conf_dir }}"
- "{{ jellyfin_data_dir }}"
- "{{ jellyfin_log_dir }}"
- "{{ jellyfin_cache_dir }}"
become: True
become_user: root

View File

@ -9,12 +9,13 @@ Type=simple
Environment=JELLYFIN_DATA_DIR={{ jellyfin_data_dir }}
Environment=JELLYFIN_CONFIG_DIR={{ jellyfin_conf_dir }}
Environment=JELLYFIN_LOG_DIR={{ jellyfin_log_dir }}
Environment=JELLYFIN_CACHE_DIR={{ jellyfin_cache_dir }}
Restart=on-failure
TimeoutSec=15
User={{ jellyfin_user }}
Group={{ jellyfin_group }}
WorkingDirectory={{ jellyfin_base_dir }}
ExecStart={{ jellyfin_base_dir }}/jellyfin-latest
ExecStart={{ jellyfin_base_dir }}/jellyfin-latest --service --noautorunwebapp
[Install]
WantedBy=multi-user.target