mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
Update install
This commit is contained in:
parent
05e3095221
commit
b79ca25278
1 changed files with 9 additions and 9 deletions
|
@ -162,13 +162,13 @@ ynh_system_user_create "$app"
|
|||
#=================================================
|
||||
|
||||
# LDAP config
|
||||
plugins_conf_path=$plugins_path/configurations
|
||||
plugins_conf_file=$plugins_conf_path/LDAP-Auth.xml
|
||||
#plugins_conf_path=$plugins_path/configurations
|
||||
#plugins_conf_file=$plugins_conf_path/LDAP-Auth.xml
|
||||
|
||||
mkdir -p "$plugins_conf_path"
|
||||
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"
|
||||
#mkdir -p "$plugins_conf_path"
|
||||
#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"
|
||||
|
||||
# Load services once to generate system.xml
|
||||
systemctl enable jellyfin
|
||||
|
@ -186,9 +186,9 @@ ynh_replace_string --match_string="<BaseUrl />" --replace_string="<BaseUrl>$path
|
|||
ynh_replace_string --match_string="<HttpServerPortNumber>8096</HttpServerPortNumber>" --replace_string="<HttpServerPortNumber>$port</HttpServerPortNumber>" --target_file="/etc/jellyfin/system.xml"
|
||||
|
||||
# Setting up the admin user
|
||||
userdir="/etc/jellyfin/users/$admin"
|
||||
mkdir -p "$userdir"
|
||||
cp ../conf/policy.xml "$userdir/"
|
||||
#userdir="/etc/jellyfin/users/$admin"
|
||||
#mkdir -p "$userdir"
|
||||
#cp ../conf/policy.xml "$userdir/"
|
||||
|
||||
#=================================================
|
||||
# STORE THE CONFIG FILE CHECKSUM
|
||||
|
|
Loading…
Add table
Reference in a new issue