Files
OpenVPN-Monitoring-Simple/Deployment/APP/openrc/ovpmon-gatherer

17 lines
314 B
Plaintext
Raw Normal View History

2026-01-09 01:05:50 +03:00
#!/sbin/openrc-run
name="ovpmon-gatherer"
description="OpenVPN Monitor Gatherer Service"
supervisor="supervise-daemon"
: ${directory:="/opt/ovpmon/APP"}
: ${command_user:="root"}
command="/opt/ovpmon/venv/bin/python"
command_args="/opt/ovpmon/APP/openvpn_gatherer_v3.py"
depend() {
need net
after firewall
}