Starting Custom/YAML Apps upon Boot?

I did notice that if TrueNAS Discover apps have not shutdown prior to shutting down the system, those apps will start upon booting the system.
However, that logic seemingly does not apply to custom apps (installed via GUI) and apps installed via YAML.

Is there any option to enable said logic for those non-Discover apps as well?

Running on TrueNAS Scale (Community) 25.04.1.

Did you add the

restart: always

Or unless stopped

To your compose file?
All my apps have that option in my compose file and start up just fine on their own

1 Like

Thanks for the quick response! The Compose files didn’t have any restart policy mentioned which was indeed the issue. Adding it with restart: unless-stopped follows the same logic as TrueNAS’ own apps. :+1:

Seems like TrueNAS’ own apps use that policy by default (with no option to change it?), while custom apps installed via GUI got a dropdown box for it and Compose/YAML installs require explicit declaration of the restart policy.