forked from ccchb/ansible
13 lines
312 B
Django/Jinja
13 lines
312 B
Django/Jinja
#!/usr/local/bin/execlineb -P
|
||
# {{ ansible_managed }}
|
||
|
||
s6-envdir ./env
|
||
multisubstitute {
|
||
importas -i -u NAME NAME
|
||
}
|
||
|
||
foreground { fdmove -c 1 2 echo "${NAME}: Starting." }
|
||
s6-notifyoncheck -d -w 100 -n 70
|
||
|
||
fdmove -c 2 1
|
||
haproxy -W -S /var/run/haproxy.master,uid,0,gid,0,mode,0600 -db -- /usr/local/etc/haproxy
|