diff --git a/check_process b/check_process index 3e6fc80..61245ae 100644 --- a/check_process +++ b/check_process @@ -6,7 +6,6 @@ language="fr" is_public=1 password="pass" - port="666" ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/scripts/install b/scripts/install index bf7ef7c..150c36f 100644 --- a/scripts/install +++ b/scripts/install @@ -138,6 +138,8 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH" #================================================= ynh_add_config --template="../conf/config.json" --destination="$final_path/config.json" +chmod 400 "$final_path/config.json" +chown $app "$final_path/config.json" #================================================= # CONFIGURE NODEBB @@ -148,9 +150,7 @@ chown -R $app:$app $final_path pushd $final_path #ynh_exec_as $app env $ynh_node_load_PATH ./nodebb setup #-l > $install_log - #ynh_exec_as $app env $ynh_node_load_PATH #npm install nodebb-plugin-dbsearch --save-prod - #ynh_exec_as $app env $ynh_node_load_PATH #./nodebb build -l #ynh_exec_as $app ./nodebb setup -l > $install_log #ynh_exec_as $app npm install nodebb-plugin-dbsearch --save-prod