Misc tools created for the maintenance of the XMPP services at chapril.org.
Go to file
pitchum 0872c5cc08 Update serviceinfo: Fix the way "active users count" is computed
Previously, only users having MAM messages stored where counted.
Now we count all users who have established a connexion with the server.
2020-11-18 12:52:04 +01:00
fail2ban Craft fail2ban rules to mitigate spambots attacks (#4461) 2020-05-16 15:22:35 +02:00
nodeinfo2 Update nodeinfo2: Fix the way "active users count" is computed 2020-11-18 11:35:20 +01:00
rapport_activite Improve script rapport_activites.sh 2020-11-10 19:29:47 +01:00
serviceinfo Update serviceinfo: Fix the way "active users count" is computed 2020-11-18 12:52:04 +01:00
README.md Add scripts used for activity reporting. 2020-03-17 20:27:40 +01:00

XMPP tools

Quickstart guide

mkdir -p /srv/xmpp.chapril.org
cd /src/xmpp.chapril.org
git clone ssh://gitea@forge.april.org:222/Chapril/xmpp.chapril.org-tools.git tools
cd /usr/local/sbin
ln -s /srv/xmpp.chapril.org/tools/rapport_activite/rapport_activites.sh
ln -s /srv/xmpp.chapril.org/tools/rapport_activite/update_ticket.sh
cat /etc/cron.d/update-ticket-rapport-dactivite
42 7    1 * * root API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /usr/local/sbin/update_redmine_ticket