mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Merge pull request #130 from YunoHost-Apps/fix-change-url
Fix change url
This commit is contained in:
commit
2aa44ec48b
7 changed files with 18 additions and 6 deletions
|
@ -38,7 +38,7 @@ Rocket.Chat is an open-source fully customizable communications platform develop
|
|||
|
||||
### E-mail Configuration
|
||||
|
||||
To enable E-mail for address verification, go to Rocket.Chat Administration panel under E-mail -> SMTP and set as follow:
|
||||
To enable E-mail for address verification, go to Rocket.Chat Administration panel under Settings -> E-mail -> SMTP and set as follow:
|
||||
|
||||
- Protocole: `smtp`
|
||||
- Host: `localhost`
|
||||
|
|
|
@ -38,7 +38,7 @@ Rocket.Chat est une plate-forme de communication open source entièrement person
|
|||
|
||||
### Configuration de l'e-mail
|
||||
|
||||
Pour activer l'e-mail pour la vérification des adresses, accédez au panneau d'administration de Rocketchat sous E-mail -> SMTP et définissez comme suit :
|
||||
Pour activer l'e-mail pour la vérification des adresses, accédez au panneau d'administration de Rocket.Chat sous Paramètres -> E-mail -> SMTP et définissez comme suit :
|
||||
|
||||
- Protocole : `smtp`
|
||||
- Hôte : `localhost`
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
setup_public=1
|
||||
upgrade=1
|
||||
#4.7.2~ynh2
|
||||
upgrade=1 from_commit=9280c034e8843e7e69622f0daa02ee74c916faa1
|
||||
upgrade=1 from_commit=78312cfb3e6fc6b7bff47843ee8209aba07498c0
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=0
|
||||
|
@ -22,3 +22,7 @@
|
|||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=78312cfb3e6fc6b7bff47843ee8209aba07498c0
|
||||
name=Merge pull request #125
|
||||
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666&
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
### E-mail Configuration
|
||||
|
||||
To enable E-mail for address verification, go to Rocket.Chat Administration panel under E-mail -> SMTP and set as follow:
|
||||
To enable E-mail for address verification, go to Rocket.Chat Administration panel under Settings -> E-mail -> SMTP and set as follow:
|
||||
|
||||
- Protocole: `smtp`
|
||||
- Host: `localhost`
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
### Configuration de l'e-mail
|
||||
|
||||
Pour activer l'e-mail pour la vérification des adresses, accédez au panneau d'administration de Rocketchat sous E-mail -> SMTP et définissez comme suit :
|
||||
Pour activer l'e-mail pour la vérification des adresses, accédez au panneau d'administration de Rocket.Chat sous Paramètres -> E-mail -> SMTP et définissez comme suit :
|
||||
|
||||
- Protocole : `smtp`
|
||||
- Hôte : `localhost`
|
||||
|
|
|
@ -321,7 +321,7 @@ ynh_mongo_remove_db() {
|
|||
#
|
||||
#
|
||||
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"
|
||||
mongodb_servicename=$MONGO_CE_SERVICENAME
|
||||
|
||||
|
|
|
@ -104,6 +104,14 @@ then
|
|||
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC MODIFICATIONS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating systemd service..." --weight=1
|
||||
|
||||
ynh_replace_string --match_string="Environment=ROOT_URL=https://$old_domain$old_path" --replace_string="Environment=ROOT_URL=https://$new_domain$new_path" --target_file="/etc/systemd/system/$app.service"
|
||||
systemctl daemon-reload
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue