We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62a1f5e commit ee9250eCopy full SHA for ee9250e
files/build_templates/docker_image_ctl.j2
@@ -153,7 +153,8 @@ function postStartAction()
153
sleep 1;
154
done
155
if [[ ("$BOOT_TYPE" == "warm" || "$BOOT_TYPE" == "fastfast") && -f $WARM_DIR/dump.rdb ]]; then
156
- rm -f $WARM_DIR/dump.rdb
+ # retain the dump file from last boot for debugging purposes
157
+ mv $WARM_DIR/dump.rdb $WARM_DIR/dump.rdb.old
158
else
159
# If there is a config_db.json dump file, load it.
160
if [ -r /etc/sonic/config_db$DEV.json ]; then
0 commit comments