2023-04-17 20:28:29 +00:00
|
|
|
[Unit]
|
|
|
|
Description=GPTbot - A GPT bot for Matrix
|
|
|
|
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
|