There was a problem loading the comments.

Headless JD - systemd autostart script

Support Portal  »  Knowledgebase  »  Viewing Article


How to autostart a headless JD installation

Create the file /etc/systemd/system/jdownloader.service with following content:

[Unit]
Description=JDownloader
Wants=network.target
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/java -jar /home/pi/bin/jdownloader/JDownloader.jar
PIDFile=/home/pi/bin/jdownloader/JDownloader.pid
User=pi
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target


sudo systemctl daemon-reload

sudo systemctl start jdownloader.service

sudo systemctl enable jdownloader.service


Related Articles


On-Premise Help Desk Software by SupportPal