diff options
| author | eric_G <46165813+ericgaspar@users.noreply.github.com> | 2025-09-01 11:34:17 +0200 |
|---|---|---|
| committer | eric_G <46165813+ericgaspar@users.noreply.github.com> | 2025-09-01 11:34:17 +0200 |
| commit | 8924efedabefe76a7c4f327952a0e850611da8ee (patch) | |
| tree | 2f3f30a9785b2bf91e189375d225414b9c984444 | |
| parent | edbf9871a19fd30634d86e7ff41d4f33b92521d4 (diff) | |
| download | mastodon_ynh-8924efedabefe76a7c4f327952a0e850611da8ee.tar.gz mastodon_ynh-8924efedabefe76a7c4f327952a0e850611da8ee.tar.bz2 mastodon_ynh-8924efedabefe76a7c4f327952a0e850611da8ee.zip | |
cleaning
| -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 7e400d5..315cca6 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 3b8f6e8..735ecc2 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 #================================================= |
