mirror of
https://github.com/YunoHost-Apps/librex_ynh.git
synced 2024-09-03 19:36:20 +02:00
Fix
This commit is contained in:
parent
a444a1b2d1
commit
92ae409935
2 changed files with 12 additions and 0 deletions
|
@ -100,6 +100,16 @@ then
|
|||
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC MODIFICATIONS
|
||||
#=================================================
|
||||
|
||||
domain="$new_domain"
|
||||
ynh_add_config --template="../conf/opensearch.xml.example" --destination="$final_path/opensearch.xml"
|
||||
|
||||
chmod 400 "$final_path/opensearch.xml"
|
||||
chown $app:$app "$final_path/opensearch.xml"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
#=================================================
|
||||
|
|
|
@ -105,6 +105,8 @@ ynh_add_config --template="../conf/opensearch.xml.example" --destination="$final
|
|||
|
||||
chmod 400 "$final_path/config.php"
|
||||
chown $app:$app "$final_path/config.php"
|
||||
chmod 400 "$final_path/opensearch.xml"
|
||||
chown $app:$app "$final_path/opensearch.xml"
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
|
Loading…
Add table
Reference in a new issue