This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Make a handy json file to automatically install the needed packages for Radarr to run | |
echo '{"pkgs":["libunwind","icu","libinotify","openssl","mediainfo","sqlite3","ca_root_nss","libiconv","nano","curl","wget"]}' > /tmp/pkg.json | |
## Create the jail using that json file we created earlier. | |
## I use 12.2-RELEASE as it's the most recent at the time of writing. | |
## Replace <IP>, <MASK> and <GATEWAY> with your own. | |
iocage create -n "radarr" -p /tmp/pkg.json -r 12.2-RELEASE ip4_addr="vnet0|<IP>/<MASK>" defaultrouter="<GATEWAY>" vnet="on" allow_mlock="1" allow_raw_sockets="1" boot="on" | |
## Delete the now useless file we created at the beginning. | |
rm /tmp/pkg.json |