123456789101112131415161718 |
- #!/bin/bash
- set -e
- start_consul()
- {
- process_start consul agent -server -bootstrap-expect 1 -data-dir /root/consul/data -config-dir /root/consul/config
- #consul members
- }
- stop_consul()
- {
- true
- }
- monit_consul()
- {
- process_monit consul
- }
|