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
df615c5b6a
commit
e0249f92ea
1 changed files with 1 additions and 2 deletions
|
@ -111,7 +111,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
#ynh_setup_source --dest_dir="$final_path"
|
#ynh_setup_source --dest_dir="$final_path"
|
||||||
git clone -b v1.17.x https://github.com/NodeBB/NodeBB.git "$final_path" --quiet
|
git clone -b v1.17.x https://github.com/NodeBB/NodeBB.git "$final_path" --quiet
|
||||||
|
#git clone https://github.com/NodeBB/NodeBB.git "$final_path" --quiet
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
@ -157,7 +157,6 @@ ynh_add_config --template="../conf/config.json" --destination="$final_path/confi
|
||||||
chmod 400 "$final_path/config.json"
|
chmod 400 "$final_path/config.json"
|
||||||
chown $app "$final_path/config.json"
|
chown $app "$final_path/config.json"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START NodeBB IN BACKGROUND
|
# START NodeBB IN BACKGROUND
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue