Files
SREBOT/srebot.service
T
FURRO404 2b399fdb81 add SREBOT, SHARED, TSSBOT contents (fixup for #1223)
PR #1223 only staged the deletions of the old paths because the new
top-level directories were still untracked when the commit was authored.
This commit adds the actual restructured tree: SREBOT/ (existing bot),
SHARED/ (vromfs, data_parser, ICONS/MAPS/FONTS, DAGOR_FILES,
update_game_files), and TSSBOT/ (skeleton).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 23:17:02 -07:00

31 lines
633 B
Desktop File

[Unit]
Description=SREBOT Discord Bot for War Thunder
After=network.target
Wants=network.target
[Service]
Type=simple
User=sre
Group=sre
WorkingDirectory=/home/sre/SREBOT/BOT
ExecStart=/home/sre/SREBOT/BOT/venv/bin/python bot_runner.py
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=srebot
# Environment
Environment=PYTHONUNBUFFERED=1
Environment=SREBOT_STORAGE_VOL_PATH=/mnt/HC_Volume_105581488/STORAGE
# Security
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=false
ReadWritePaths=/home/sre/SREBOT /mnt/HC_Volume_105581488
[Install]
WantedBy=multi-user.target