mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
parent
8b9f47e421
commit
dae441deb5
1 changed files with 5 additions and 0 deletions
|
@ -158,6 +158,8 @@ ynh_system_user_create $app
|
|||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
# LDAP config
|
||||
plugins_conf_path=$plugins_path/configurations
|
||||
plugins_conf_file=$plugins_conf_path/LDAP-Auth.xml
|
||||
|
||||
|
@ -166,6 +168,9 @@ cp ../conf/LDAP-Auth.xml "$plugins_conf_file"
|
|||
ynh_replace_string --match_string="__BINDPASSWORD__" --replace_string="$password" --target_file="$plugins_conf_file"
|
||||
chown -R jellyfin:jellyfin "$plugins_path"
|
||||
|
||||
# Port config
|
||||
ynh_replace_string --match_string="<HttpServerPortNumber>8096</HttpServerPortNumber>" --replace_string="<HttpServerPortNumber>$port</HttpServerPortNumber>" --target_file="/etc/jellyfin/sys$
|
||||
|
||||
#=================================================
|
||||
# STORE THE CONFIG FILE CHECKSUM
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue