diff --git a/root/etc/e-smith/templates/var/service/tinydns/root/data/80srvEjabberd b/root/etc/e-smith/templates/var/service/tinydns/root/data/80srvEjabberd new file mode 100644 index 0000000..a92871c --- /dev/null +++ b/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`; + +}