mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Add redis_namespace to upgrade
This commit is contained in:
parent
c3c4416b24
commit
61d3ceebd7
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue