View Single Post
  #2  
Old 21.07.2017, 10:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 71,637
Default

Write a script that starts JDownloader in headless mode

java -Djava.awt.headless=true -jar JDownloader.jar >/dev/null 2>/dev/null
you should run that script as different user
eg
su -c "/.../script.sh &" user

You can either place it in /etc/rc.local or write a systemd file for it
__________________
JD-Dev & Server-Admin
Reply With Quote