config-servers-stats_disabled.txtar
1# vi: set ft=conf
2
3# disable stats listening
4env SOFT_SERVE_SSH_ENABLED=true
5env SOFT_SERVE_GIT_ENABLED=true
6env SOFT_SERVE_HTTP_ENABLED=true
7env SOFT_SERVE_STATS_ENABLED=false
8
9# start soft serve
10exec soft serve --sync-hooks &
11
12# wait for the ssh + other servers to come up
13ensureserverrunning SSH_PORT
14ensureserverrunning GIT_PORT
15ensureserverrunning HTTP_PORT
16
17# ensure that the disabled server is not running
18ensureservernotrunning STATS_PORT