MatrixGPT/matrixgpt.service

15 lines
345 B
SYSTEMD
Raw Normal View History

2023-03-18 02:30:12 -06:00
[Unit]
Description=Icinga to Kuma converter.
After=network.target
[Service]
User=flask
Environment="ICINGA2KUMA_ICINGA2_PW=[your icinga2 API password]"
WorkingDirectory=/opt/icinga2-checks
2023-03-18 02:35:55 -06:00
ExecStart=/opt/MatrixGPT/venv/bin/python3 /opt/MatrixGPT/main.py --config /etc/matrixgpt/config.yaml
2023-03-18 02:30:12 -06:00
Restart=always
[Install]
WantedBy=multi-user.target