You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/02/09 20:59:33 UTC
[airavata] 01/03: AIRAVATA-2672 Start Zookeeper as unprivileged user
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 5e793c559d660fa7503a9d9004ea660fb1e8f2aa
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Feb 9 15:31:46 2018 -0500
AIRAVATA-2672 Start Zookeeper as unprivileged user
---
dev-tools/ansible/roles/zookeeper/templates/zookeeper.service.j2 | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-tools/ansible/roles/zookeeper/templates/zookeeper.service.j2 b/dev-tools/ansible/roles/zookeeper/templates/zookeeper.service.j2
index 19c3718..8e6ea2a 100644
--- a/dev-tools/ansible/roles/zookeeper/templates/zookeeper.service.j2
+++ b/dev-tools/ansible/roles/zookeeper/templates/zookeeper.service.j2
@@ -10,6 +10,7 @@ ExecStart={{zookeeper_dir}}/bin/zkServer.sh start
ExecStop={{ zookeeper_dir }}/bin/zkServer.sh stop
Restart=always
TimeoutSec=300
+User={{ user }}
[Install]
WantedBy=multi-user.target
--
To stop receiving notification emails like this one, please contact
machristie@apache.org.