Update required Python version
Add -u switch to systemd service unit to make output unbuffered
This commit is contained in:
parent
1dc0378853
commit
9f5e87db4c
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ Simply clone this repository and install the 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)
|
||||
|
||||
### Configuration
|
||||
|
|
|
@ -7,7 +7,7 @@ Type=simple
|
|||
User=gptbot
|
||||
Group=gptbot
|
||||
WorkingDirectory=/opt/gptbot
|
||||
ExecStart=/opt/gptbot/venv/bin/python3 -m gptbot
|
||||
ExecStart=/opt/gptbot/venv/bin/python3 -um gptbot
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
|
|
Loading…
Reference in a new issue