blob: 45a6712ea557f74265e1a70633ead55d5bf90dbc [file] [log] [blame]
#!/bin/sh
# Copyright 2020-present Open Networking Foundation
#
# SPDX-License-Identifier: Apache-2.0
set -xe
IMGPATH={{ .Values.config.imagePath }}
{{- if .Values.config.coreDump.enabled }}
cp $IMGPATH/amf/amf /tmp/coredump/
{{- end }}
cd $IMGPATH
cat config/amfcfg.conf
GOTRACEBACK=crash ./amf/amf -amfcfg config/amfcfg.conf