Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-04-07 18:59:22 +0300
committerBadlop <badlop@process-one.net>2022-05-04 03:39:10 +0300
commit06e448b4d0a83623c8d36df91c14e187474f55e8 (patch)
treecf9085e221a8a471eb5f5bcc0552772669714324 /tools
parentb773bb4cd4c64092e436c5eb046503cea8e00592 (diff)
Once installed, show next steps
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-installers11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/make-installers b/tools/make-installers
index f7dd4e7f3..16253a130 100755
--- a/tools/make-installers
+++ b/tools/make-installers
@@ -69,6 +69,7 @@ data_path="/opt/$rel_name"
conf_path="$data_path/conf"
pem_file="$conf_path/server.pem"
url='https://docs.ejabberd.im/admin/upgrade/#specific-version-upgrade-notes'
+url_doc_admin='https://docs.ejabberd.im/admin/installation/#administration-account'
tmp_dir=$(mktemp -d "/tmp/.$rel_name.XXXXXX")
trap 'rm -rf "$tmp_dir"' INT TERM EXIT
@@ -198,7 +199,15 @@ create_setup_script()
echo
echo '$url'
echo
- echo 'If everything looks fine, restart the $rel_name service.'
+ echo 'If everything looks fine, restart the $rel_name service:'
+ echo ' systemctl restart ejabberd'
+ else
+ echo 'Now you can check ejabberd is running correctly:'
+ echo ' systemctl status ejabberd'
+ echo
+ echo 'Next you may want to edit ejabberd.yml to setup hosts,'
+ echo 'register an account and grant it admin rigts, see:'
+ echo '$url_doc_admin'
fi
EOF
chmod +x "$dir/setup"