Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Move RCA files to subdir owned by elasticsearch user #271

Merged
merged 2 commits into from
Jul 14, 2020
Merged
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
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ RUN mkdir /usr/share/elasticsearch && \
chmod 0775 /usr/share/elasticsearch && \
chgrp 0 /usr/share/elasticsearch

RUN mkdir /usr/share/supervisor
RUN mkdir -p /usr/share/supervisor/performance_analyzer

WORKDIR /usr/share/elasticsearch
COPY --from=prep_es_files --chown=1000:0 /usr/share/elasticsearch /usr/share/elasticsearch
Expand Down
8 changes: 4 additions & 4 deletions pa_config/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
; supervisor config file

[unix_http_server]
file=/usr/share/supervisor/supervisord.sock
file=/usr/share/supervisor/performance_analyzer/supervisord.sock
chmod=0770

[supervisord]
logfile=/usr/share/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/usr/share/supervisor/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/usr/share/supervisor ; ('AUTO' child log dir, default $TEMP)
logfile=/usr/share/supervisor/performance_analyzer/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/usr/share/supervisor/performance_analyzer/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/usr/share/supervisor/performance_analyzer ; ('AUTO' child log dir, default $TEMP)

; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
Expand Down