diff options
| author | Tagada <36127788+Tagadda@users.noreply.github.com> | 2024-08-13 19:06:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 19:06:01 +0200 |
| commit | 26f29342f21e11579f4c8a5195fd8a9f40a78156 (patch) | |
| tree | 66ebab4a34853816f1b7bf28c689873f4f90d91f /scripts | |
| parent | c3c4416b24aaec57b8ec04f7479be84033259134 (diff) | |
| parent | 1859c45ccc1d0a396cd8ca0f3e343a439d10c6a1 (diff) | |
| download | mastodon_ynh-26f29342f21e11579f4c8a5195fd8a9f40a78156.tar.gz mastodon_ynh-26f29342f21e11579f4c8a5195fd8a9f40a78156.tar.bz2 mastodon_ynh-26f29342f21e11579f4c8a5195fd8a9f40a78156.zip | |
Merge pull request #461 from YunoHost-Apps/testing
Testing
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/_common.sh | 2 | ||||
| -rw-r--r-- | scripts/upgrade | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/_common.sh b/scripts/_common.sh index 4049d21..a2ba0b8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= memory_needed="2560" -ruby_version=3.2.2 +ruby_version=3.2.3 nodejs_version=20 # Workaround for Mastodon on Bullseye diff --git a/scripts/upgrade b/scripts/upgrade index 2dd3d32..c889e65 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,6 +39,11 @@ if [[ -z "${service:-}" ]]; then service="$app-web.service" ynh_app_setting_set --app="$app" --key=service --value="$service" fi +# Set `redis_namespace` settings +if [[ -z "${redis_namespace:-}" ]]; then + redis_namespace=${app}_production + ynh_app_setting_set --app="$app" --key=redis_namespace --value="$redis_namespace" +fi # Remove previous added repository ynh_remove_extra_repo |
