mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Fix
This commit is contained in:
parent
194d4eb03e
commit
7724c1567c
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue