1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tvheadend_ynh.git synced 2024-10-01 13:34:50 +02:00

delay chown data_dir

This commit is contained in:
Félix Piédallu 2024-03-08 13:26:07 +01:00
parent 119413651e
commit fc64b0e6a4
2 changed files with 2 additions and 2 deletions

View file

@ -81,8 +81,6 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
[resources.data_dir] [resources.data_dir]
dir = "/var/lib/tvheadend" dir = "/var/lib/tvheadend"
owner = "hts:rwX"
group = "video:r--"
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"

View file

@ -30,6 +30,8 @@ _install_tvheadend_package() {
ynh_package_install \ ynh_package_install \
"$install_dir/tvheadend.deb" "$install_dir/tvheadend.deb"
chown -R "hts:video" "$data_dir"
# The doc says it should be called only once, # The doc says it should be called only once,
# but the code says multiple calls are supported. # but the code says multiple calls are supported.
# Also, they're already installed so that should be quasi instantaneous. # Also, they're already installed so that should be quasi instantaneous.