matrix-gptbot/gptbot.service
Kumi 55809a9a39
Make it an importable module
Abandon DuckDB in favor of sqlite3
2023-05-25 07:28:28 +00:00

15 lines
No EOL
282 B
Desktop File

[Unit]
Description=GPTbot - A multifunctional Chatbot 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