initial: import DOLPHIN baseline 2026-04-21 from dolphinng5_predict working tree
Includes core prod + GREEN/BLUE subsystems: - prod/ (BLUE harness, configs, scripts, docs) - nautilus_dolphin/ (GREEN Nautilus-native impl + dvae/ preserved) - adaptive_exit/ (AEM engine + models/bucket_assignments.pkl) - Observability/ (EsoF advisor, TUI, dashboards) - external_factors/ (EsoF producer) - mc_forewarning_qlabs_fork/ (MC regime/envelope) Excludes runtime caches, logs, backups, and reproducible artifacts per .gitignore.
This commit is contained in:
26
prod/meta_health_daemon_bsd.rc
Executable file
26
prod/meta_health_daemon_bsd.rc
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: meta_health_daemon
|
||||
# REQUIRE: DAEMON NETWORKING hazelcast prefect_worker
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="meta_health_daemon"
|
||||
rcvar="meta_health_daemon_enable"
|
||||
load_rc_config $name
|
||||
|
||||
# Default settings
|
||||
: ${meta_health_daemon_enable:="NO"}
|
||||
: ${meta_health_daemon_user:="dolphin"}
|
||||
: ${meta_health_daemon_root:="/mnt/dolphinng5_predict/prod"}
|
||||
|
||||
# Command setup
|
||||
command="/usr/local/bin/python3"
|
||||
command_args="${meta_health_daemon_root}/meta_health_daemon.py"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
||||
# Run command with nohup and redirect to log for basic daemonization
|
||||
start_cmd="daemon -u ${meta_health_daemon_user} -p ${pidfile} ${command} ${command_args}"
|
||||
|
||||
run_rc_command "$1"
|
||||
Reference in New Issue
Block a user