mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Update install
This commit is contained in:
parent
c1bca4d96a
commit
293c6dc28e
1 changed files with 5 additions and 5 deletions
|
@ -97,11 +97,6 @@ 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
|
||||||
|
|
||||||
chmod 755 "$final_path"
|
|
||||||
#chmod -R o-rwx "$final_path"
|
|
||||||
chown -R $app:www-data "$final_path"
|
|
||||||
chmod +x "$final_path/app.js"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -134,6 +129,11 @@ ynh_add_config --template="../conf/.sequelizerc.example" --destination="$final_p
|
||||||
chmod 600 $final_path/config.json
|
chmod 600 $final_path/config.json
|
||||||
chmod 600 $final_path/.sequelizerc
|
chmod 600 $final_path/.sequelizerc
|
||||||
|
|
||||||
|
chmod 755 "$final_path"
|
||||||
|
#chmod -R o-rwx "$final_path"
|
||||||
|
chown -R $app:www-data "$final_path"
|
||||||
|
chmod +x "$final_path/app.js"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue