I seem to remember having problems with daemon, but I can't remember what they were exactly. The Jail is gone now, so I can't look at the end result to see what I ended up with. By all accounts, this command should do exactly what I need though.
I probably ended up with something like this[0], which doesn't use daemon. Home Assistant also provides a FreeNAS example[1] which uses daemon.
For comparison, the systemd unit file that I ended up with is:
I probably ended up with something like this[0], which doesn't use daemon. Home Assistant also provides a FreeNAS example[1] which uses daemon.
For comparison, the systemd unit file that I ended up with is:
[0] https://gist.github.com/damoun/96add58f60572cb12c11[1] https://www.home-assistant.io/docs/installation/freenas/