2023-04-17 20:28:29 +00:00
|
|
|
[Unit]
|
2023-05-25 07:28:28 +00:00
|
|
|
Description=GPTbot - A multifunctional Chatbot for Matrix
|
2023-04-17 20:28:29 +00:00
|
|
|
Requires=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=gptbot
|
|
|
|
Group=gptbot
|
|
|
|
WorkingDirectory=/opt/gptbot
|
2023-04-25 16:56:20 +00:00
|
|
|
ExecStart=/opt/gptbot/venv/bin/python3 -um gptbot
|
2023-04-17 20:28:29 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|