thelounge
Installation des dépendances¶
curl -sL https://deb.nodesource.com/setup_current.x | bash -
apt-get install -y nodejs
Installation de the lounge¶
wget https://github.com/thelounge/thelounge/releases/download/v4.2.0/thelounge_4.2.0_all.deb
sudo apt install ./thelounge.deb
Création du premier utilisateur¶
sudo -u thelounge thelounge add user
Configuration¶
- fichier /etc/thelounge/config.js
Installer un thème¶
sudo -u thelounge thelonge install <nom du thème>
Script pour surveiller les nouvelles versions¶
by zordhak
#!/usr/bin/env bash
# Script permettant de vérifier si une mise à jour de TheLounge est disponible
version_local=$(dpkg-query --showformat='${Version}\n' --show thelounge)
version_upstream=$(curl -s https://github.com/thelounge/thelounge/releases/latest|grep -oE '([0-9]+\.?)+')
if [ "$version_local" = "$version_upstream" ] ; then
echo "[OK] TheLounge $version_local"
exit 0
else
echo "[WARNING] TheLounge local : $version_local - upstream : $version_upstream"
exit 1
fi