14 lines
284 B
SYSTEMD
14 lines
284 B
SYSTEMD
|
[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
|
||
|
|