diff --git a/pa_config/supervisord.conf b/pa_config/supervisord.conf index 65792c10..b89c99a7 100644 --- a/pa_config/supervisord.conf +++ b/pa_config/supervisord.conf @@ -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 @@ -28,5 +28,5 @@ serverurl=/usr/share/supervisord.sock files = /etc/supervisor/conf.d/*.conf [program:performance_analyzer] -command=/usr/share/elasticsearch/plugins/opendistro_performance_analyzer/pa_bin/performance-analyzer-agent /usr/share/elasticsearch +command=/usr/share/elasticsearch/performance-analyzer-rca/pa_bin/performance-analyzer-agent /usr/share/elasticsearch user=1000