Compare commits
No commits in common. "85ca349abc5d04a92eae450ecfddeaa753b40c8b" and "b668e9f788b96392f0be2fa87abba312dfa5ca9f" have entirely different histories.
85ca349abc
...
b668e9f788
@ -43,7 +43,7 @@ while read -p "$adminusername@$domain is this correct? (y/n): " confirm; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
read -p "Enter the password for the ejabberd SQL user: " sqlpassword
|
read -p "Enter the password for the ejabberd SQL user: " sqlpassword
|
||||||
while read -p "$sqlpassword is this correct? (y/n): " confirm; do
|
while read -p "$adminpassword is this correct? (y/n): " confirm; do
|
||||||
if [ "$confirm" == "y" ]; then
|
if [ "$confirm" == "y" ]; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
@ -54,7 +54,7 @@ done
|
|||||||
|
|
||||||
mariadb -e "CREATE DATABASE $sqldb; CREATE USER $sqlusername@localhost IDENTIFIED BY '$sqlpassword'; GRANT ALL ON ejabberd.* TO $sqlusername@localhost"
|
mariadb -e "CREATE DATABASE $sqldb; CREATE USER $sqlusername@localhost IDENTIFIED BY '$sqlpassword'; GRANT ALL ON ejabberd.* TO $sqlusername@localhost"
|
||||||
|
|
||||||
echo """
|
echo "
|
||||||
--
|
--
|
||||||
-- ejabberd, Copyright (C) 2002-2023 ProcessOne
|
-- ejabberd, Copyright (C) 2002-2023 ProcessOne
|
||||||
--
|
--
|
||||||
@ -520,12 +520,10 @@ CREATE TABLE mqtt_pub (
|
|||||||
user_properties blob NOT NULL,
|
user_properties blob NOT NULL,
|
||||||
expiry int unsigned NOT NULL,
|
expiry int unsigned NOT NULL,
|
||||||
UNIQUE KEY i_mqtt_topic (topic(191))
|
UNIQUE KEY i_mqtt_topic (topic(191))
|
||||||
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;""" | mariadb -D $sqldb
|
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" | mariadb -D $sqldb
|
||||||
|
|
||||||
if [ ! -f /etc/ssl/dh2048.pem ]
|
echo "Generating dhfile..."
|
||||||
echo "Generating dhfile..."
|
openssl dhparam -out /etc/ssl/dh2048.pem 2048
|
||||||
openssl dhparam -out /etc/ssl/dh2048.pem 2048
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "HTTP uploads in XMPP are stored on the server itself. There are many
|
echo "HTTP uploads in XMPP are stored on the server itself. There are many
|
||||||
different parameters you can configure with respect to HTTP uploads. A soft
|
different parameters you can configure with respect to HTTP uploads. A soft
|
||||||
|
Loading…
Reference in New Issue
Block a user