matrix-reportbot/gptbot.service
Kumi 9f5e87db4c
Update required Python version
Add -u switch to systemd service unit to make output unbuffered
2023-04-25 16:56:20 +00:00

15 lines
No EOL
266 B
Desktop File

[Unit]
Description=GPTbot - A GPT bot for Matrix
Requires=network.target
[Service]
Type=simple
User=gptbot
Group=gptbot
WorkingDirectory=/opt/gptbot
ExecStart=/opt/gptbot/venv/bin/python3 -um gptbot
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target