Ha habido un problema al cargar los comentarios.

Headless JD - systemd autostart script

Portal de asistencia  »  Base de datos  »  Artículo en vista


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


Artículos relacionados


On-Premise Help Desk Software by SupportPal