Closed boyobejamin closed 3 years ago
Seems you're right. Did you made some test ?
Yeah, the installation failed without it because it wasn't able to resolve to a good GID/UID.
I'm going to look at the start script too today. There are some similar small things to be fixed to get that rocking.
I'm super excited to have this easily working on my FreeNAS box!
Thank you !
Do not hesitate to ask questions and make some feedback, I need some to improve.
See ya, Zorglube
Hey @boyobejamin , did you made some tests ?
Yeah, here's a PR where I've made other changes to get it working. Everything currently deploys successfully with the following modifications.
https://github.com/zorglube/freenas-iocage-movienight/pull/3
I was going to turn this into a FreeNAS plugin but time got away from me. Hopefully this helps others!
I was going to turn this into a FreeNAS plugin but time got away from me. Hopefully this helps others!
I also want to do this, maybe we should work together ?
Totally! I'd be down for that. I'm busy this weekend but will make time this week to research the effort. A cursory glance shows it's not a huge lift to make it a plugin.
Their at least two way to make an FreeNAS/TrueNAS plugin.
post_install.sh
. Like: Create Jail, and post install contain install GoLang, Clone repo, Compile and run and so on. Do you have some idea ? Point of view ?
Hey there, in the
movienight-jail.sh
script, should the following line have$
added?if ! iocage exec ${JAIL_NAME} chown {UID}:{GID} ${MN_LOG_FILE}
if ! iocage exec ${JAIL_NAME} chown ${UID}:${GID} ${MN_LOG_FILE}