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