Mercurial > sat_docs
view scripts/dns_srv/template/var/cache/bind/zone.my.domain @ 103:e69883c1ec30
docker (libervia_cont): added a "status" command:
- if libervia container is not running, it exits with error code 1
- if libervia container is running but no server is launched, it exits with error code 2
- if libervia container is running and server is launcher, it exits with error code 0 (success)
server detection is done by doing a simple grep on logs, that's not perfectly reliable (ports can be changed in configuration, even if that doesn't really make sense in Docker context) but should be good enough for this purpose.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 27 Feb 2016 00:45:40 +0100 |
parents | 73d3b94b7364 |
children |
line wrap: on
line source
$ORIGIN <domain>. $TTL 1D @ IN SOA <hostname> <hostname> ( <date> ; serial 8H ; refresh 4H ; retry 4W ; expire 1D ) ; minimum NS <hostname> www CNAME <hostname> localhost A 127.0.0.1 <hostname> A 127.0.0.1 _xmpp-client._tcp.<domain>. 18000 IN SRV 0 5 <c2s_port> <hostname>.<domain>. _xmpp-server._tcp.<domain>. 18000 IN SRV 0 5 5269 <hostname>.<domain>.