zfs create ship/git
export JAIL=git export JAILHOSTNAME=git export JAILDOMAIN=ahlawat.com export JAILIP=16 export JAILUSER=X export JAILUSERID=1000 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"