![]() 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 |