1
0
Fork 0
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:
ericgaspar 2021-06-13 10:39:47 +02:00
parent cf4aaa2008
commit 7af9f588df
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -77,6 +77,10 @@ ynh_script_progression --message="Configuring system user..." --weight=2
# Create a system user
ynh_system_user_create --username=$app --home_dir="$final_path"
chmod 755 "$final_path"
#chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# CREATE A POSTGRESQL DATABASE
#=================================================
@ -129,9 +133,6 @@ ynh_add_config --template="../conf/.sequelizerc.example" --destination="$final_p
chmod 600 $final_path/config.json
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"
#=================================================