This commit is contained in:
Oliver
2025-09-26 16:27:40 -03:00
parent ac8f70d368
commit bb271b8d71
15 changed files with 199 additions and 48 deletions

24
app/templates/init.d/checkCalls Executable file
View File

@@ -0,0 +1,24 @@
#!/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"
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
}