Either start JDownloader in background
java -jar JDownloader.jar &
or
Restart JDownloader Once via Webinterface to put it into background.
Then you can close your SSH session and JDownloader still running in background
For autostart of JDownloader, check google how to add scripts to autostart of your NAS device.
__________________
JD-Dev & Server-Admin
|