Commit f5154924 authored by Ecklory's avatar Ecklory

Fix path and update readme

parent 60deedd4
......@@ -24,7 +24,7 @@ Install dep:
cd /root/go/bin && wget https://raw.githubusercontent.com/golang/dep/master/install.sh && chmod +x install.sh && ./install.sh && cd ~
Build:
git clone https://git.ckcorp.ru/ck/zabbix/elasticsearch && cd elasticsearch/src
git clone https://git.ckcorp.ru/ck/zabbix/elasticsearch && cd elasticsearch/src && apt -y --no-install-recommends install make && make
#### Node stat
......
......@@ -50,13 +50,13 @@ make-gopath:
install:
@echo Install
cp .out/${BINARYNAME} /usr/bin/${BINARYNAME}
cp userparameter_elasticsearch.conf \
/etc/zabbix/zabbix_agentd.conf.d/userparameter_elasticsearch.conf
cp ../userparameter_elasticsearch.conf \
/etc/zabbix/zabbix_agentd.d/userparameter_elasticsearch.conf
@echo Done
remove:
@echo Remove
rm /usr/bin/${BINARYNAME}
rm /etc/zabbix/zabbix_agentd.conf.d/userparameter_elasticsearch.conf
rm /etc/zabbix/zabbix_agentd.d/userparameter_elasticsearch.conf
@echo Done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment