Update required Python version

Add -u switch to systemd service unit to make output unbuffered
This commit is contained in:
Kumi 2023-04-25 16:56:20 +00:00
parent 1dc0378853
commit 9f5e87db4c
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ Simply clone this repository and install the requirements.
### Requirements ### Requirements
- Python 3.8 or later - Python 3.10 or later
- Requirements from `requirements.txt` (install with `pip install -r requirements.txt` in a venv) - Requirements from `requirements.txt` (install with `pip install -r requirements.txt` in a venv)
### Configuration ### Configuration

View file

@ -7,7 +7,7 @@ Type=simple
User=gptbot User=gptbot
Group=gptbot Group=gptbot
WorkingDirectory=/opt/gptbot WorkingDirectory=/opt/gptbot
ExecStart=/opt/gptbot/venv/bin/python3 -m gptbot ExecStart=/opt/gptbot/venv/bin/python3 -um gptbot
Restart=always Restart=always
RestartSec=10 RestartSec=10