This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
job "countdash" { | |
group "api" { | |
network { | |
mode = "bridge" | |
} | |
service { | |
name = "count-api" | |
port = "9001" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
haproxy_bin="/usr/sbin/haproxy" | |
haproxy_config="/etc/haproxy/haproxy.cfg" | |
haproxy_tmp_config=$(mktemp --tmpdir haproxy_config_XXXX) | |
haproxy_pidfile="/run/haproxy.pid" | |
haproxy_temp_pidfile="/run/haproxy-reloader-${BASHPID}.pid" | |
EXTRAOPTS= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# consul Manage the consul agent | |
# | |
# chkconfig: 2345 95 95 | |
# description: Consul is a tool for service discovery and configuration | |
# processname: consul | |
# config: /etc/consul.conf | |
# pidfile: /var/run/consul.pid |