systemd: Fix zookeeper env var

This commit is contained in:
Björn Busse 2020-07-01 21:43:22 +02:00
parent 2198cfc15a
commit 953647bb9f
2 changed files with 6 additions and 6 deletions

View File

@ -5,11 +5,11 @@ After=network-online.target
[Service] [Service]
User=hdfs User=hdfs
EnvironmentFile=/etc/env-hbase-exporter EnvironmentFile=/etc/env-hbase-exporter
ExecStart=/usr/local/bin/hbase-exporter --zookeeper-server-address=${ZK_SERVER_1} \ ExecStart=/usr/local/bin/hbase-exporter --zookeeper-server-address=${ZOOKEEPER_SERVER_1} \
--zookeeper-server-address=${ZK_SERVER_2} \ --zookeeper-server-address=${ZOOKEEPER_SERVER_2} \
--zookeeper-server-address=${ZK_SERVER_3} \ --zookeeper-server-address=${ZOOKEEPER_SERVER_3} \
--zookeeper-server-address=${ZK_SERVER_4} \ --zookeeper-server-address=${ZOOKEEPER_SERVER_4} \
--zookeeper-server-address=${ZK_SERVER_5} \ --zookeeper-server-address=${ZOOKEEPER_SERVER_5} \
--export-refresh-rate=${EXPORT_REFRESH_RATE} \ --export-refresh-rate=${EXPORT_REFRESH_RATE} \
--hbck-refresh-rate=${HBCK_REFRESH_RATE} --hbck-refresh-rate=${HBCK_REFRESH_RATE}
Restart=always Restart=always