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:
parent
119413651e
commit
fc64b0e6a4
2 changed files with 2 additions and 2 deletions
|
@ -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 = "/"
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue