mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
Merge pull request #287 from CodeShakingSheep/fix-.env-permissions
Fix .env permissions (marked in health check)
This commit is contained in:
commit
350c1bea32
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ ynh_script_progression --message="Modifying a config file..." --weight=1
|
|||
|
||||
ynh_add_config --template="default.env" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chmod 600 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -69,7 +69,7 @@ then
|
|||
|
||||
ynh_add_config --template="default.env" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chmod 600 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue