1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librex_ynh.git synced 2024-09-03 19:36:20 +02:00
This commit is contained in:
Éric Gaspar 2022-07-09 12:36:21 +02:00
parent a444a1b2d1
commit 92ae409935
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 12 additions and 0 deletions

View file

@ -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
#=================================================

View file

@ -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