mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update install
This commit is contained in:
parent
074ba55af7
commit
46d9b66d91
1 changed files with 1 additions and 5 deletions
|
@ -124,19 +124,15 @@ chown -R $app:www-data "$final_path"
|
|||
#=================================================
|
||||
|
||||
ynh_add_config --template="../conf/config.json" --destination="$final_path/config.json"
|
||||
ynh_add_config --template="../conf/.env" --destination="$final_path/config.base.env"
|
||||
chmod 666 "$final_path/config.json"
|
||||
chown $app "$final_path/config.json"
|
||||
chmod 755 "$final_path/config.base.env"
|
||||
chown $app "$final_path/config.base.env"
|
||||
|
||||
#=================================================
|
||||
# CONFIGURE NODEBB
|
||||
#=================================================
|
||||
|
||||
pushd $final_path
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $final_path/config.base.env
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup $final_path/config.json #-l > $install_log
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup #-l > $install_log
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue