Can I somehow turn off the autostart for individual apps after reboot?
E.g. I use Syncthing and Immich that use an encrypted dataset, so I don’t want these apps to start up immediately when the system reboots as I have not yet unlocked them.
In the Apps I don’t see an option to prevent autostart on boot as there was in Jails.
I think you just manually stop them with the stop button on each app then they won’t restart. At least mine don’t. So I can set ones I want to auto start and ones I don’t want to auto start on boot.
Just an assumption, but i think the container apps are deployed with a --restart unless-stopped, what you need instead Is a --restart no.
I don’t see anything in the GUI, but you have quite viable alternative:
stop the containers before a reboot, manually but better with a shutdown script
migrate those 2 apps as custom apps, so you can specify --restart no (or probably directly omitting, should be the default)
(Think about opening a feature request, probably will be helpful for other too)
Thanks. Indeed stopping them before a reboot is best. Will look into how to do this with a script.
Especially Immich is an issue as the “external library” is not mounted when encrypted and then it leaves it empty. After restarting the app, you need to go into Immich and the manually scan the library again.
In the Applications screen If you look on the application screen you will see a start stop button fro each application. If you stop the application before shutdown it will not restart up reboot. This button used to not always work correctly in previous versions but does work correctly now. I use this all the time to keep from booting apps for one reason or another and it works fine. I don’t have any custom installed apps right now so if you have some custom docker app you manually installed then you may have to script a parameter to not have it start on boot or use one of the docker managers applications available in Scale.