1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
This commit is contained in:
ericgaspar 2020-10-21 19:19:06 +02:00
parent bfeea23059
commit fc20d01a2f
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 10 additions and 1 deletions

View file

@ -108,7 +108,7 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --time --weight=1 ynh_script_progression --message="Starting a systemd service..." --time --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Your Etherpad version is" --timeout="120"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -74,6 +74,15 @@ ynh_system_user_create --username=$app
chown -R $app: $final_path chown -R $app: $final_path
chmod 600 $final_path/credentials.json chmod 600 $final_path/credentials.json
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=12
ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejs_version
#================================================= #=================================================
# RESTORE THE POSTQRESQL DATABASE # RESTORE THE POSTQRESQL DATABASE
#================================================= #=================================================