This commit is contained in:
Cyberes 2023-03-18 02:41:29 -06:00
parent ef1a158b5a
commit 0dfc81264d
1 changed files with 3 additions and 5 deletions

View File

@ -1,14 +1,12 @@
[Unit]
Description=Icinga to Kuma converter.
Description=MatrixGPT bot.
After=network.target
[Service]
User=flask
Environment="ICINGA2KUMA_ICINGA2_PW=[your icinga2 API password]"
WorkingDirectory=/opt/icinga2-checks
User=matrix-bots
WorkingDirectory=/opt/MatrixGPT/
ExecStart=/opt/MatrixGPT/venv/bin/python3 /opt/MatrixGPT/main.py --config /etc/matrixgpt/config.yaml
Restart=always
[Install]
WantedBy=multi-user.target