Thread: [User feedback required] Autostart on Raspberry Pi
View Single Post
  #2  
Old 22.01.2019, 11:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,563
Default

JDownloader may restart itself several times. For example when installing an update. During startup the headless version of JDownloader will auto check for updates and install them. That's why it sometimes work and other times don't work.

So the PID from first start may no longer be valid.

try adding to [Service]

PIDFile=/home/pi/bin/jdownloader/JDownloader.pid
__________________
JD-Dev & Server-Admin
Reply With Quote