bundlewrap/bundles/icinga2/files/icinga_statusmonitor.service
Franziska Kunsmann dc9e378908
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/icinga2: add icinga statusmonitor
2020-11-22 18:56:04 +01:00

15 lines
288 B
Desktop File

[Unit]
Description=Icinga2 Statusmonitor
After=network.target
[Service]
User=nagios
Group=nagios
Environment="FLASK_APP=/etc/icinga2/icinga_statusmonitor.py"
ExecStart=/usr/bin/python3 -m flask run
WorkingDirectory=/tmp
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target