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/upgrade | |
| 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/upgrade')
| -rw-r--r-- | scripts/upgrade | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
