first commit

This commit is contained in:
gru
2026-05-03 12:35:57 +01:00
commit 4fac1716a6
31 changed files with 5949 additions and 0 deletions

16
systemd/pytorrent.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=pyTorrent web UI for rTorrent
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/pytorrent
EnvironmentFile=/opt/pytorrent/.env
ExecStart=/opt/pytorrent/venv/bin/python /opt/pytorrent/app.py
Restart=always
RestartSec=3
User=www-data
Group=www-data
[Install]
WantedBy=multi-user.target