1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
Éric Gaspar 2022-07-08 09:10:12 +02:00
parent 194d4eb03e
commit 7724c1567c
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 2 deletions

View file

@ -321,7 +321,7 @@ ynh_mongo_remove_db() {
# #
# #
ynh_install_mongo() { ynh_install_mongo() {
ynh_print_info --message="Installing MongoDB Community Edition..." ynh_script_progression --message="Installing MongoDB Community Edition..."
ynh_install_extra_app_dependencies --repo="$MONGO_CE_REPO" --package="$MONGO_CE_DEPENDENCIES" --key="$MONGO_CE_KEY" ynh_install_extra_app_dependencies --repo="$MONGO_CE_REPO" --package="$MONGO_CE_DEPENDENCIES" --key="$MONGO_CE_KEY"
mongodb_servicename=$MONGO_CE_SERVICENAME mongodb_servicename=$MONGO_CE_SERVICENAME

View file

@ -109,7 +109,8 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Updating systemd service..." --weight=1 ynh_script_progression --message="Updating systemd service..." --weight=1
ynh_replace_string --match_string="Environment=ROOT_URL=*" --replace_string="Environment=ROOT_URL=https://$new_domain$new_path" --target_file="/etc/systemd/system/$app.service" ynh_replace_string --match_string="Environment=ROOT_URL= *" --replace_string="Environment=ROOT_URL=https://$new_domain$new_path" --target_file="/etc/systemd/system/$app.service"
systemctl daemon-reload
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALISATION