Skip to content

Commit

Permalink
Restart redis-server to load changes in redis.conf (sonic-net#76)
Browse files Browse the repository at this point in the history
redis-server starts once installation finishes here `sudo dpkg -i buildimage/target/debs/stretch/redis-server_*.deb` , so restarting redis-server is needed to involve redis.conf update.
  • Loading branch information
baxia-lan authored Feb 12, 2020
1 parent 54c40bc commit 774de9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common/sonic-swss-common-build/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sudo apt-get install -y liblua5.1-0 lua-bitop lua-cjson
sudo dpkg -i buildimage/target/debs/stretch/redis-tools_*.deb
sudo dpkg -i buildimage/target/debs/stretch/redis-server_*.deb
sudo sed -i 's/notify-keyspace-events ""/notify-keyspace-events AKE/' /etc/redis/redis.conf
sudo service redis-server start
sudo service redis-server restart

sudo dpkg -i libswsscommon_*.deb
sudo dpkg -i python-swsscommon_*.deb
Expand Down

0 comments on commit 774de9b

Please sign in to comment.