• 设备
    • 今日
    • 0

    您查询的关键字: chkconfg

    [ 图 ] 配置sh文件到chkconfg

    配置sh文件到chkconfg vi/etc/rc.d/init.d/zookeeper #!/bin/bash #chkconfig:23452090 #description:zookeeper #processname:zookeeper case$1in start)suroot/opt/zkhome/zookeeper-3.3.6/bin/zkServer.shstart;; stop)suroot/opt/zkhome/zookeeper-3.3.6/bin/zkServer.shstop;; status)suroot/opt/zkhome/zookeeper-3.3.6/bin/zkSer

    阅读全文 194 ℃