changeset 48:358a4fc0e091

scripts (dns_srv): update script usage information
author souliane <souliane@mailoo.org>
date Wed, 15 Jul 2015 12:37:14 +0200
parents 36d158a50c8a
children 068252a37689
files scripts/dns_srv/configure_dns_srv.sh
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/dns_srv/configure_dns_srv.sh	Sun Jun 07 13:52:08 2015 +0200
+++ b/scripts/dns_srv/configure_dns_srv.sh	Wed Jul 15 12:37:14 2015 +0200
@@ -4,7 +4,9 @@
 #     - define an internal domain and bind it to 127.0.0.1
 #     - add SRV records to use this domain with your local XMPP server
 #
-# BE SURE TO BACKUP /etc/bind AND /var/cache/bind BEFORE USING THIS SCRIPT!
+# It will mess up your actual bind9 configuration. It should not be used on
+# production servers but only on your development machine with local servers.
+# USE AT YOUR OWN RISK! Be sure to BACKUP /etc/bind and /var/cache/bind before!
 #
 # Configuration files based on:
 #     - http://www.madboa.com/geek/soho-bind
@@ -14,10 +16,14 @@
 # For this to work, Prosody configuration must define the domain as a VirtualHost.
 # It is also assumed that the Prosody "directory" option is set to "/var/cache/bind".
 #
-# Finally, you may want to modify the SàT configuration file to set the option
+# Finally, you may want to modify your SàT configuration file to set the option
 # "new_account_domain" to that domain passed in $1 in order to register new
 # account from Libervia, and the "jid" option of sat_pubsub should be set to
-# "sat-pubsub.<domain>" for the microblogging feature to work.
+# "sat-pubsub.<domain>" for the (micro)blogging feature to work.
+#
+# You can also check this page with additional information about how to restore
+# your previously configured domains (if any...) after having ran the script:
+# http://wiki.goffi.org/wiki/How_to_change_your_Libervia%27s_domain_name/en
 
 if [ $# -lt 2 ]; then
   echo "Usage: `basename $0` <domain> <c2s_port>"