Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: Revert linux logrotate implementation for plugin #148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions plugins/UFM_NDT_Plugin/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG BASE_PATH=/opt/ufm/ufm_plugin_ndt

LABEL maintainer="[email protected]"

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"

Expand All @@ -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
Expand Down
9 changes: 0 additions & 9 deletions plugins/UFM_NDT_Plugin/build/config/ndt_logrotate.conf

This file was deleted.

6 changes: 0 additions & 6 deletions plugins/UFM_NDT_Plugin/build/config/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down