+# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+/usr/sbin/ntpd -g -l /var/log/ntpstats/ntpd.log
+exec "$@"
why add this file, if want execute shell command in ntp-server, can write in Dockerfile, use like this
CMD ./start-server.sh
CMD [ "ntpd -g -l /var/log/ntpstats/ntpd/log" ] is ok?
Thanks, Yinsi