zfs create ship/r-git
export JAIL=r-git export JAILHOSTNAME=git export JAILDOMAIN=beyondbell.com export JAILIP=72 export JAILUSER=r export JAILUSERID=2002 export JAILUSERVNC=false /root/FreeBSD/jails/create.sh $JAIL $JAILHOSTNAME $JAILDOMAIN $JAILIP $JAILUSER $JAILUSERID $JAILUSERVNC iocage exec $JAIL "pkg install -y -r pkgp123 gitea openldap24-client" iocage fstab -a $JAIL /mnt/ship/$JAIL /var/db/gitea nullfs rw 0 0 iocage fstab -l $JAIL iocage exec $JAIL "cp -r /mnt/config/gitea /usr/local/etc" iocage exec $JAIL "cp -r /mnt/config/gitea/secret/app.ini /usr/local/etc/gitea/conf/" iocage exec $JAIL "chown -R git:git /usr/local/etc/gitea" iocage exec $JAIL "sysrc git_daemon_enable=NO" iocage exec $JAIL "sysrc gitea_enable=YES" iocage exec $JAIL "service gitea start"