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
cf4aaa2008
commit
7af9f588df
1 changed files with 4 additions and 3 deletions
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue