#! /bin/bash
nohup ./consul agent -server -ui -bootstrap-expect=1 -data-dir=/root/consul/data -node=agent-one -advertise=193.168.1.185 -bind=0.0.0.0 -client=0.0.0.0 > /root/consul/consul.log 2>&1 &
#! /bin/bash
nohup ./consul agent -server -ui -bootstrap-expect=1 -data-dir=/root/consul/data -node=agent-one -advertise=193.168.1.185 -bind=0.0.0.0 -client=0.0.0.0 > /root/consul/consul.log 2>&1 &
本文标题:consul启动脚本
本文链接:https://www.haomeiwen.com/subject/negcoktx.html
网友评论