diff options
| author | eric_G <46165813+ericgaspar@users.noreply.github.com> | 2025-09-01 15:12:22 +0200 |
|---|---|---|
| committer | eric_G <46165813+ericgaspar@users.noreply.github.com> | 2025-09-01 15:12:22 +0200 |
| commit | 24b842a772def1cf183da68c0e8de2f59c2206f4 (patch) | |
| tree | 216c9b8ff4998f8d7a1c980dc82c6ad266240664 | |
| parent | 3ea39b244b91d3a2bf7eacf1d6c62b753ae80425 (diff) | |
| download | mastodon_ynh-24b842a772def1cf183da68c0e8de2f59c2206f4.tar.gz mastodon_ynh-24b842a772def1cf183da68c0e8de2f59c2206f4.tar.bz2 mastodon_ynh-24b842a772def1cf183da68c0e8de2f59c2206f4.zip | |
cleaning
| -rw-r--r-- | scripts/install | 4 | ||||
| -rw-r--r-- | scripts/upgrade | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install index fad9eb9..ddb0692 100644 --- a/scripts/install +++ b/scripts/install @@ -25,6 +25,10 @@ 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 ce24e0d..9b3c8db 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,6 +64,10 @@ 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 #================================================= |
