Browse Source

HUE-9251 [core] Fix Hue can't be launched under openshift (#1097)

Prakash Ranade 5 years ago
parent
commit
b7bc3ac98d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/container/hue/supervisor-files/etc/supervisord_template

+ 2 - 2
tools/container/hue/supervisor-files/etc/supervisord_template

@@ -1,10 +1,10 @@
 [unix_http_server]
-file=/var/log/${USER}/supervisord.sock
+file=/var/log/${HUE_USER}/supervisord.sock
 username=${UUID_GEN}
 password=${UUID_GEN}
 
 [supervisord]
-pidfile=/var/log/${USER}/supervisord.pid
+pidfile=/var/log/${HUE_USER}/supervisord.pid
 stdout_logfile=/dev/stdout
 stdout_logfile_maxbytes=0
 stderr_logfile=/dev/stderr