A TrueNAS jail keeps stopping every 3 to 7 days. An outside program restarts it, so the service comes back automatically. The real issue is not the restart process, but the unknown reason the jail keeps failing on a regular cycle.
Key points
The TrueNAS jail stops every 3 to 7 days.
An external program restarts it automatically.
The repeated failure is still unexplained.
operators should check logs and s, not rely only on auto-restart.