Ajout des entrées SRV pour les services xmpp-server et xmpp-client

tags/ipasserelle-im-0.2.18-1
Daniel Berteaud 12 years ago
parent abfc5ae5da
commit e45a76aca6
  1. 9
      root/etc/e-smith/templates/var/service/tinydns/root/data/80srvEjabberd

@ -0,0 +1,9 @@
{
return "" unless (-x '/usr/bin/make-srv');
$OUT .= "# SRV Records for Ejabberd\n";
$OUT .= `/usr/bin/make-srv -service _xmpp-server._tcp.$DomainName -target $SystemName.$DomainName -port 5269`;
$OUT .= `/usr/bin/make-srv -service _xmpp-client._tcp.$DomainName -target $SystemName.$DomainName -port 5222`;
}
Loading…
Cancel
Save