bundlewrap/bundles/icinga2/files/icinga_statusmonitor.service

14 lines
263 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Icinga2 Statusmonitor
After=network.target
[Service]
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