MatrixGPT/matrixgpt.service

13 lines
270 B
SYSTEMD

[Unit]
Description=MatrixGPT bot.
After=network.target
[Service]
User=matrix-bots
WorkingDirectory=/opt/MatrixGPT/
ExecStart=/srv/MatrixGPT/venv/bin/python3 /srv/MatrixGPT/main.py --config /etc/matrixgpt/config.yaml
Restart=always
[Install]
WantedBy=multi-user.target