We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7187041 commit 636870dCopy full SHA for 636870d
files/build_templates/docker_image_ctl.j2
@@ -116,7 +116,8 @@ function postStartAction()
116
sleep 1;
117
done
118
if [[ ("$BOOT_TYPE" == "warm" || "$BOOT_TYPE" == "fastfast") && -f $WARM_DIR/dump.rdb ]]; then
119
- rm -f $WARM_DIR/dump.rdb
+ # retain the dump file from last boot for debugging purposes
120
+ mv $WARM_DIR/dump.rdb $WARM_DIR/dump.rdb.old
121
else
122
# If there is a config_db.json dump file, load it.
123
if [ -r /etc/sonic/config_db$DEV.json ]; then
0 commit comments