icinga2-checks/icinga2kuma/icinga2kuma.service

15 lines
315 B
SYSTEMD
Raw Normal View History

2023-04-21 23:54:17 -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
ExecStart=/usr/local/bin/gunicorn -b 0.0.0.0:8081 -w 4 icinga2kuma:app
Restart=always
[Install]
WantedBy=multi-user.target