#!/sbin/openrc-run

name="checkCalls"
description="check container service calls"

# Command uses Python inside the venv
command="/4server/sbin/checkCalls"
command_args=""
pidfile="/run/${RC_SVCNAME}.pid"
command_background="yes"

directory="/4server"
command_user="root"

respawn_delay=5       # seconds to wait before restart
respawn_max=0         # 0 = unlimited restarts




# Load environment variables if needed
output_log="/4server/data/log/checkCalls.log"
error_log="/4server/data/log/checkCalls.log"

depend() {
    need net
    use logger dns
    after firewall
}

