export JAIL=torrent
export JAILHOSTNAME=torrent
export JAILDOMAIN=ahlawat.com
export JAILIP=58
export JAILUSER=p
export JAILUSERID=1000
export JAILUSERVNC=true
/root/FreeBSD/jails/create.sh $JAIL $JAILHOSTNAME $JAILDOMAIN $JAILIP $JAILUSER $JAILUSERID $JAILUSERVNC
iocage fstab -r $JAIL /mnt/ship/certs /mnt/certs nullfs ro 0 0
iocage fstab -a $JAIL tmpfs /tmp tmpfs rw,size=4g,mode=1777 0 0
iocage exec $JAIL "mkdir /mnt/torrent"
iocage fstab -a $JAIL /mnt/tank/torrent /mnt/torrent nullfs rw 0 0
iocage fstab -l $JAIL
iocage exec $JAIL "sysrc vncserver_geometry=1920x1200"
iocage set allow_mount=1 enforce_statfs=1 allow_mount_tmpfs=1 exec_start="/bin/sh /mnt/config/setup_jail.sh" $JAIL
iocage exec $JAIL "pkg install -y sudo mc firefox-esr mesa-dri qbittorrent rsync"