Scripts¶
monitor.sh¶
Health monitor with auto-restart capability.
One-shot check¶
Exits 0 if healthy, 1 if FutuOpenD process is not running.
Watch mode¶
Continuously monitors and restarts the container if the health check fails.
Options¶
| Option | Description |
|---|---|
--watch | Continuous monitoring loop |
--interval SECONDS | Check interval (default: 30) |
--restart | Auto-restart container on failure |
backup.sh¶
Backup and restore persistent data volume.
Backup¶
Creates a timestamped tarball of the data volume in backups/.