浏览代码

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

Prakash Ranade 5 年之前
父节点
当前提交
b7bc3ac98d
共有 1 个文件被更改,包括 2 次插入2 次删除
  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