diff --git a/scripts/install b/scripts/install index 6f3d649..85b9741 100644 --- a/scripts/install +++ b/scripts/install @@ -133,14 +133,12 @@ setup="{ \"database\": \"postgres\", \"postgres:host\": \"localhost\", \"postgres:port\": \"5432\", - \"postgres:username\": \"$db_name\", - \"postgres:password\": \"$db_pwd\", - \"postgres:database\": \"$db_name\" + \"postgres:username\": \"${db_name}\", + \"postgres:password\": \"${db_pwd}\", + \"postgres:database\": \"${db_name}\" }" -pushd $final_path - ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" -popd +ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" #================================================= # NGINX CONFIGURATION @@ -164,7 +162,7 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="Nodejs Forum" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Forum software" --log="/var/log/$app/$app.log" #================================================= # START ETHERPAD IN BACKGROUND diff --git a/scripts/restore b/scripts/restore index 5cee76c..c1dc329 100644 --- a/scripts/restore +++ b/scripts/restore @@ -101,7 +101,7 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="Nodejs Forum" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Forum software" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 4469497..4921433 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,7 +128,7 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="Nodejs Forum" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Forum software" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE