diff --git a/plugins/UFM_NDT_Plugin/build/Dockerfile b/plugins/UFM_NDT_Plugin/build/Dockerfile index 788df21e4..34b18dafc 100644 --- a/plugins/UFM_NDT_Plugin/build/Dockerfile +++ b/plugins/UFM_NDT_Plugin/build/Dockerfile @@ -10,7 +10,7 @@ ARG BASE_PATH=/opt/ufm/ufm_plugin_ndt LABEL maintainer="atolikin@nvidia.com" -RUN apt-get update && apt upgrade -y && apt-get -y install supervisor python3 python3-pip rsyslog mc wget cron logrotate vim libcap2 curl sudo +RUN apt-get update && apt upgrade -y && apt-get -y install supervisor python3 python3-pip rsyslog mc wget vim libcap2 curl sudo RUN python3 -m pip install flask flask_restful requests pandas twisted apscheduler pyDes "tzlocal<3.0" @@ -19,7 +19,6 @@ COPY ufm_sim_web_service/ ${BASE_PATH}/ufm_sim_web_service/ COPY config/supervisord.conf /etc/supervisor/conf.d/ COPY config/init.sh config/deinit.sh config/ui_build.sh / -COPY config/ndt_logrotate.conf /etc/logrotate.d/ndt COPY config/ndt_httpd_proxy.conf config/ndt.conf config/ufm_plugin_ndt_httpd.conf config/ndt_ui_conf.json ${BASE_PATH}/ RUN /ui_build.sh diff --git a/plugins/UFM_NDT_Plugin/build/config/ndt_logrotate.conf b/plugins/UFM_NDT_Plugin/build/config/ndt_logrotate.conf deleted file mode 100644 index 205611f28..000000000 --- a/plugins/UFM_NDT_Plugin/build/config/ndt_logrotate.conf +++ /dev/null @@ -1,9 +0,0 @@ -/log/ndt.log { - compress - rotate 10 - size 10M - missingok - copytruncate - notifempty -} - diff --git a/plugins/UFM_NDT_Plugin/build/config/supervisord.conf b/plugins/UFM_NDT_Plugin/build/config/supervisord.conf index 0edecfb9e..c6908988a 100644 --- a/plugins/UFM_NDT_Plugin/build/config/supervisord.conf +++ b/plugins/UFM_NDT_Plugin/build/config/supervisord.conf @@ -15,12 +15,6 @@ stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 -[program:crond] -command=/usr/sbin/cron -f -autostart=true -autorestart=true -startretries=1 -startsecs=1 [program:ufm_web_service] command=python3 /opt/ufm/ufm_plugin_ndt/ufm_sim_web_service/ufm_web_service.py