![]() It's even better to run a jail on a not-system-harddisk to guarantee, that the one and only FreeNAS runs on that harddisk. You should'nt mount the jail in the system harddisk where FreeNAS runs. And yes, it's hardly recommened to use a fixed ip address until you have no or less knowledge about dns. If you like to add 10 or even more jails, then you should set up your own (!) default template for jails by clicking on "jails/add jails template", type in your network configuration you like to use, save and THEN click on add jails. If you only want one jail, don't start to waste time with the jail template, click on advanced mode and set the ipv4 address (nothing else!!!) to that ip address you want to use. If your network ip starts with .x, then the ip address will be .1 (for the second jail, if you want some, the ip will be .2 and so on). The ip address is chosen by your default ip pool. You will need it to connect with windows explorer or putty/ssh. A jail has it own ip address, like a virtual machine. You have the possibility to switch to the advanced mode. FreeNAS will download some stuff and configure by it's own. Click "jail/add jail", name it and click on OK. For short: a jail is something like a micro virtual machine (you don't need to download something, all you need comes with free nas by itself). Well, this wasn't that easy i thought, because i had a lot of to read to understand what a jail (german: Gefängnis) is. Just one thing: use a mailadress you have permanently access to. I think it's that easy so i don't have to add something. There is another problem when you update jdownloader via mydownloader, jdownloader doesn't restart.Īs for the permissions, just do "chmod 666 jdownloader" I thought it was the role of rcvar to pass the argument to start the script when the jail starts. I've read the documentation but I'm looking for a working sample.Īt the moment I'm reading how transmission and sickrage init scripts are written. ![]() That's my init script at the moment, the functions start and stop are working, I would like to have "status". So maybe use the "pidfile=" option if there are mot java instances # I only have java running for jd, so the command kills java. ![]() usr/local/bin/java =true -jar $jdownloader_path Now when I open the main movies folder, the _downloaded pops out as the very first entry and I can move that files instead of copying as they are in the same dataset as the other movies. So the preconfigured link points to the /mnt/XXX share, which writes to the /mnt/pool1/movies/_downloaded folder. I've created a new jail share (folder under the main movies library, like "_downloaded") and made a hard link pointing from the default JD download dir to that. Now when I re/start my jail, the JD runs and it uses the given umask. So I ended up reading FreeBSD services and testing if umask will influence JD - which worked. Then I expected the rc.d way of kicking in my startup script, which didn't work as well. Then I expected some useful jail setting from FreeNAS for umask and starting tasks, but didn't find these. This step was a bit uglier than I thought: I expected JD to have some config for this but I didn't find it. I couldn't believe somehow that I need all that but no "classical" way worked for me, so I had to look into the docs at FreeBSD and read a few wiki pages. This script is part of the "service script", which is the newer way of starting tasks automatically at startup under FreeBSD. I've put it into the script which starts jdownloader. I ended up using "umask" (which gives new files a bit-mask 777 excluding those bits given by umask). I download/setup it once again it's just 1 jar file with just a few questions to be answered from the CLI. when running as a UI-less server task from the. The remote login "through web" is needed for the backend JDownloader, e.g. I'm still fine-tuning and trying to understand the communication/logging, where/what/how happens, starting the java JD on startup etc. execute the last command more times until console asks for MyJDownloader login email/pwd (the one you created at the start) create a new jail with a fixed IP to keep it simple register yourself free at the email/pwd will be needed in the java console config later JD can be remotely controlled from MyJDownloader web portal (yes, free sign-in is needed. JD can be downloaded as a pure java.jar package and ran under java command line If the JDownloader is 'just another win app' for you as it was for me just a few hours ago, you can find this brief intro useful, as I didn't found anything concrete myself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |