diff options
| -rw-r--r-- | manifest.toml | 3 | ||||
| -rw-r--r-- | scripts/install | 4 | ||||
| -rw-r--r-- | scripts/upgrade | 4 |
3 files changed, 2 insertions, 9 deletions
diff --git a/manifest.toml b/manifest.toml index 3575af5..7fc0329 100644 --- a/manifest.toml +++ b/manifest.toml @@ -67,7 +67,8 @@ ram.runtime = "500M" allow_email = true [resources.install_dir] - + group = "www-data:r-x" + [resources.permissions] main.url = "/" diff --git a/scripts/install b/scripts/install index ddb0692..fad9eb9 100644 --- a/scripts/install +++ b/scripts/install @@ -25,10 +25,6 @@ ynh_setup_source --dest_dir="$install_dir/live" # Download redis migration script ynh_setup_source --source_id=redis_migration --dest_dir="$install_dir/live" -chmod -R 775 "$install_dir" -chmod o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - #================================================= # ADD SWAP IF NEEDED #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 9b3c8db..ce24e0d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,10 +64,6 @@ ynh_setup_source --dest_dir="$install_dir/live" --full_replace --keep="public/sy # Download redis migration script ynh_setup_source --source_id=redis_migration --dest_dir="$install_dir/live" -chmod -R 775 "$install_dir" -chmod o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - #================================================= # BUILD ASSETS #================================================= |
