Your comments
Thanks, I'll have a look and update the plugin tomorrow with the new host feature and working dir command.
9 years ago
Plugin is ready, once the next Ubooquity update is released, I'll verify everything is working as expected then release the plugin for unRAID.
If the script for some reason didn't back out from that cd'd directory (say the script crashes or something) the user will not be able to shut off the array. So as a precaution I tend not to cd into directories in the plugins I make. An official method with a variable scripted in would be ideal. But otherwise I can try to setup symlinks. ;)
Im setting up a plugin for Unraid in which the entire OS resides on a ram drive which is created and destroyed on each boot. I allow users to separate the install directory (where .jar files go) and config dir (where all the other files go) so that they can have the important files stored on a persistent drive so the data will survive the reboot.
Thats where using Duser.dir comes in very handy as users can move those files with ease through my plugin interface. With the cred fike in root, it will be deleted upon reboot of the system, and logs will be lost since it too doesnt use the duser.dir switch. :)
Thats where using Duser.dir comes in very handy as users can move those files with ease through my plugin interface. With the cred fike in root, it will be deleted upon reboot of the system, and logs will be lost since it too doesnt use the duser.dir switch. :)
It appears to work for everything except the logs directory, can that be updated in the next version also by chance? That way the log dir follows the rest of the files that are using "-Duser.dir" path, i'll open a new ticket for this.
Thanks, I'll have a look at that java option. I'm working on an unraid plugin (not docker) for this app.
While on the topic for adding switches, having --urlbase so you can set the reverse proxy from command line would be a fantastic addition also!
Customer support service by UserEcho