From a83d4af9b041a83e3e79daed2124275e51073678 Mon Sep 17 00:00:00 2001 From: Chris L Date: Wed, 20 Dec 2017 11:01:01 -0500 Subject: [PATCH] Update zookeeper.conf.j2 replace the hard coded /var/log/zookeeper with {{log_dir}} variable --- templates/zookeeper.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/zookeeper.conf.j2 b/templates/zookeeper.conf.j2 index 1070692..b71192b 100644 --- a/templates/zookeeper.conf.j2 +++ b/templates/zookeeper.conf.j2 @@ -14,6 +14,6 @@ kill timeout 300 script # https://superuser.com/questions/213416/running-upstart-jobs-as-unprivileged-users - exec su -s /bin/sh -c 'exec "$0" "$@" &>>/var/log/zookeeper/init-zookeeper.log' zookeeper -- \ + exec su -s /bin/sh -c 'exec "$0" "$@" &>>{{ log_dir }}/init-zookeeper.log' zookeeper -- \ {{zookeeper_dir}}/bin/zkServer.sh start-foreground end script