mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
fix
This commit is contained in:
parent
63d2733c77
commit
2641ace190
2 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
||||||
language="fr"
|
language="fr"
|
||||||
is_public=1
|
is_public=1
|
||||||
password="pass"
|
password="pass"
|
||||||
port="666"
|
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
setup_sub_dir=1
|
setup_sub_dir=1
|
||||||
|
|
|
@ -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"
|
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
|
# CONFIGURE NODEBB
|
||||||
|
@ -148,9 +150,7 @@ chown -R $app:$app $final_path
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
#ynh_exec_as $app env $ynh_node_load_PATH
|
#ynh_exec_as $app env $ynh_node_load_PATH
|
||||||
./nodebb setup #-l > $install_log
|
./nodebb setup #-l > $install_log
|
||||||
#ynh_exec_as $app env $ynh_node_load_PATH
|
|
||||||
#npm install nodebb-plugin-dbsearch --save-prod
|
#npm install nodebb-plugin-dbsearch --save-prod
|
||||||
#ynh_exec_as $app env $ynh_node_load_PATH
|
|
||||||
#./nodebb build -l
|
#./nodebb build -l
|
||||||
#ynh_exec_as $app ./nodebb setup -l > $install_log
|
#ynh_exec_as $app ./nodebb setup -l > $install_log
|
||||||
#ynh_exec_as $app npm install nodebb-plugin-dbsearch --save-prod
|
#ynh_exec_as $app npm install nodebb-plugin-dbsearch --save-prod
|
||||||
|
|
Loading…
Add table
Reference in a new issue