mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Update v-commander: redis installer conf fix
This commit is contained in:
parent
946a1953d9
commit
2f0807e8ee
1 changed files with 1 additions and 0 deletions
|
@ -446,6 +446,7 @@ do
|
|||
|
||||
sed -i "s|^supervised no|supervised systemd|g" /etc/redis/redis.conf
|
||||
sed -i "s|^save |# save |g" /etc/redis/redis.conf
|
||||
sed -i 's|^# save ""|save ""|g' /etc/redis/redis.conf
|
||||
if [ $memory -lt 15000000 ]; then
|
||||
sed -i "s|^# maxmemory .*|maxmemory 256m|g" /etc/redis/redis.conf
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue