chore: update

This commit is contained in:
2026-03-03 23:42:23 +01:00
parent 52b059fafa
commit 0073f80a48
95 changed files with 2720 additions and 40619 deletions
+25
View File
@@ -0,0 +1,25 @@
[Unit]
Description=SSH Monitor — alertes Telegram + bannissement automatique
Documentation=https://github.com/pyTelegramBotAPI/pyTelegramBotAPI
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/xor_fakers/projet_gestion_commande/scripts/ssh_monitor.py
Restart=always
RestartSec=5
# Root requis pour iptables
User=root
# Sortie dans journald (journalctl -u ssh-monitor -f)
StandardOutput=journal
StandardError=journal
SyslogIdentifier=ssh-monitor
# Redémarrer même si le process quitte proprement (ex : erreur init)
RestartForceExitStatus=1
[Install]
WantedBy=multi-user.target