blog.deanwild.co.uk

me@deanwild.co.uk


All | Cars | General | Tech

Jails not auto starting on Truenas

September 13, 2023 | Tech

For some reason not all of my jails would auto start when rebooting truenas.

I don't know exactly what was causing it (neither did I have the time to look any deeper) but I devised this quick and dirty hack as a workaround.

I added a post init command to do the following:

sleep 60 && iocage start ALL

Like so:

This waits 60 seconds after boot and then starts all of my jails.

The sleep was necessary for me which probably indicates why the auto starting is failing in the first place, i'm guessing some service or mount is not ready in time for the jail when it auto starts and thus the auto start fails.

Currently there are no comments, so be the first!