摘要: #!/bin/bash #chkconfig:2345 20 90 #description: elastic service #processname: elastic ROOT_PATH=/es5/install case "$1" in start) su es5 -c "nohup /es5 阅读全文
posted @ 2017-12-19 16:51 削肾客 阅读(887) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash file_name="/sdzw/es5/conf/es.config" #安装目录 install_dir="/es5/esinstall" #es数据目录 es_dir="/data/es5data" network_host=`cat ${file_name} | gr 阅读全文
posted @ 2017-12-19 16:17 削肾客 阅读(637) 评论(0) 推荐(0) 编辑