mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-18 16:24:23 +08:00
[PHP-FPM] Add Q_MAX_AGE key and set to 365 days if missing
This commit is contained in:
parent
9328ea54f4
commit
d9361a6263
@ -19,6 +19,12 @@ if [[ -z $(redis-cli --raw -h redis-mailcow GET Q_RELEASE_FORMAT) ]]; then
|
||||
redis-cli --raw -h redis-mailcow SET Q_RELEASE_FORMAT raw
|
||||
fi
|
||||
|
||||
# Set max age of q items - if unset
|
||||
|
||||
if [[ -z $(redis-cli --raw -h redis-mailcow GET Q_MAX_AGE) ]]; then
|
||||
redis-cli --raw -h redis-mailcow SET Q_MAX_AGE 365
|
||||
fi
|
||||
|
||||
# Check of mysql_upgrade
|
||||
|
||||
CONTAINER_ID=
|
||||
|
Loading…
Reference in New Issue
Block a user