initial commit of the fucking retarded AI tree

This commit is contained in:
jenz
2026-03-13 15:36:10 +01:00
parent d283aa5d78
commit 1de56f00e1
5 changed files with 215 additions and 0 deletions
@@ -0,0 +1,16 @@
[Unit]
Description=Stoat retarded AI Tree Bot
After=network.target
[Service]
Type=simple
User=nonroot
Environment=PYTHONUNBUFFERED=1
Environment=PATH=/home/nonroot/stoat_retarded_ai_tree/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
WorkingDirectory=/home/nonroot/stoat_retarded_ai_tree
ExecStart=/home/nonroot/stoat_retarded_ai_tree/main.py
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,9 @@
[Unit]
Description=Restart Stoat AI Tree Bot nightly
[Timer]
OnCalendar=*-*-* 04:00:00
Persistent=true
[Install]
WantedBy=timers.target