Commit initial

This commit is contained in:
2026-03-08 01:33:56 +01:00
commit c5f42cf958
8 changed files with 1230 additions and 0 deletions

24
torrent-scrape.service Normal file
View File

@@ -0,0 +1,24 @@
# Fichier systemd pour lancer le serveur scrape au démarrage.
#
# Installation :
# sudo cp torrent-scrape.service /etc/systemd/system/
# sudo systemctl daemon-reload
# sudo systemctl enable --now torrent-scrape
#
# Logs :
# sudo journalctl -u torrent-scrape -f
[Unit]
Description=Torrent Tracker Scrape Server
After=network.target
[Service]
Type=simple
# Adapter le chemin et l'utilisateur selon votre configuration
User=www-data
ExecStart=/usr/bin/python3 /var/www/torrent-indicator/scrape_server.py
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target