1
0
Fork 0
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:
ericgaspar 2021-09-02 14:00:06 +02:00
parent 3b2661b5ce
commit 547a6b9355
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -139,6 +139,9 @@ popd
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" chmod 400 "$final_path/config.json"
chown $app:$app "$final_path/config.json" chown $app:$app "$final_path/config.json"
pushd $final_path
ynh_exec_as $app $ynh_node_load_PATH $final_path/nodebb upgrade
popd
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION