This guide also will also apply to FreeNAS FreeNAS 9.x jails. The end result is a Jackett Server running on FreeBSD or in a jail, either one you will end up with an awesome way to provide API Support for your favorite torrent trackers to use with jackett, Radarr, Headphones, etc.
pkg update pkg upgrade
Install the Jackett package:
pkg install jackett
Start Jackett at boot:
Next, start Jackett with the following command:
service jackett start
The IP address will depend upon the DHCP assigned address or whichever static address you give it if you did so. Verify the IP address with ifconfig or if this is a jail in FreeNAS you can view your jail IP address in the Jails tab under the IPv4 address column. Jackett is now ready to use and you can navigate to it with this URL.
Rebuilding / migrating jail
Create new jail.
Set up storage for jail. In my case I have a dataset called Media that I mount as /media in the jackett jail.
Start shell in new jail.
Follow the above installation instructions
Go back in to old jail, stop jackett ('service jackett stop') and backup /usr/local/jackett. In my case I used tar to create an archive in /media called jackett-data.tar.
cd /media tar -C /usr/local/jackettdata -zcf jackett-data.tar.gz .
Go back in to new jail. Start jackett 'service jackett start' and then stop it 'service jackett stop'. Extract your backup archive to /usr/local/jackett.
tar -xf /media/jackett-data.tar.gz -C /usr/local/jackett
Start jackett in new jail 'service jackett start'.
Delete old jail when you test that the new jail works correctly.