Solved iocage plugin details

Hi,

How iocage's unofficial plugins are working ?
I would like to know how plugins are configured after being installed by iocage.
They are working fine, but I want to know some details on how things are done.
I looked into the git repo(https://github.com/ix-plugin-hub/iocage-plugin-index) more specifically 'irssi', but the json file isn't talking that much, there is a line called 'artifact' that points to another git repo(https://github.com/ix-plugin-hub/iocage-plugin-irssi) which contain one file with a single line :
'echo "Login to your irssi host and start irssi. Happy chatting" > /root/PLUGIN_INFO'

I think miss some part (a shell script that lists every steps), can you guys guide me into the right direction please ?
Thanks :)
 
I think I've got a response to my question: there isn't any configuration done into the plugins I've been looking at ('irssi' and 'weechat'), both of them are just doing a plain installation of the packages respectively and that's it.
From what I understand configuration can normally be done through a post_install.sh script or additional files in an overlay folder, there is nothing like that for the plugins I've been looking at.
Well not entirely true, there is a post_install.sh for 'weechat' but it just echoing a sentence.(cf previous message)

I am glad I took a look, while I am not an expert running an application facing internet as root isn't probably the best thing to do, I know it's a jail of course but still it might not be advisable, or may be I am wrong about it ?

For the ones who wonder how iocage's plugins are working there is an old documentation describing the whole process:
https://www.ixsystems.com/documentation/freenas/11.2-U6/plugins.html#create-a-plugin

And I also found a tutorial about how to create an unofficial plugin:
 
Back
Top