matrix-gptbot/gptbot.service

15 lines
282 B
SYSTEMD
Raw Normal View History

[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