فهرست منبع

[backend] Removing loglistener.py from Hue Docker installation.

Prakash Ranade 2 ماه پیش
والد
کامیت
1c793feaa5
2فایلهای تغییر یافته به همراه0 افزوده شده و 19 حذف شده
  1. 0 1
      tools/container/hue/Dockerfile
  2. 0 18
      tools/container/hue/supervisor-files/hue_loglistener_template

+ 0 - 1
tools/container/hue/Dockerfile

@@ -62,7 +62,6 @@ RUN mkdir -p /etc/supervisor.d/ && chmod +w /etc/supervisor.d && mkdir -p /var/l
 ADD supervisor-files/etc/supervisord.conf /etc/supervisord.conf
 ADD supervisor-files/hue_server.conf /etc/supervisor.d/
 ADD supervisor-files/hue_ktrenewer.conf /etc/supervisor.d/
-ADD supervisor-files/hue_loglistener.conf /etc/supervisor.d/
 ADD supervisor-files/hue_celery.conf /etc/supervisor.d/
 ADD supervisor-files/hue_redis.conf /etc/supervisor.d/
 RUN chown -R ${HUEUSER}:${HUEUSER} /etc/supervisord.conf && chown -R ${HUEUSER}:${HUEUSER} /etc/supervisor.d

+ 0 - 18
tools/container/hue/supervisor-files/hue_loglistener_template

@@ -1,18 +0,0 @@
-[program:hue_loglistener]
-directory=${HUE_HOME}
-command=python3.8 ${HUE_HOME}/desktop/core/src/desktop/loglistener.py
-autostart=true
-startretries=3
-stdout_logfile=/dev/stdout
-stdout_logfile_maxbytes=0
-stderr_logfile=/dev/stderr
-stderr_logfile_maxbytes=0
-environment=DESKTOP_LOG_DIR="/var/log/${HUEUSER}",PYTHON_EGG_CACHE="$HUE_CONF_DIR/.python-eggs"
-user=${HUEUSER}
-group=${HUEUSER}
-exitcodes=0,2
-autorestart=false
-startsecs=20
-stopwaitsecs=30
-killasgroup=true
-# rlimits