icinga2-checks/services/opnsense-watcher.service

14 lines
284 B
SYSTEMD
Raw Normal View History

2023-11-19 16:38:20 -07:00
[Unit]
Description=OPNsense watcher server
After=network.target
[Service]
User=flask
WorkingDirectory=/opt/icinga2-checks
ExecStart=/opt/venvs/icinga2/icinga2_checks/bin/gunicorn -b 0.0.0.0:8082 -w 4 opnsense_traffic_watcher:app
Restart=always
[Install]
WantedBy=multi-user.target