diff --git a/README.md b/README.md index 46ed2d9..116f2a7 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,14 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/StevenSeifried/proxmox- After the script completes, If you're dissatisfied with the default settings, click on the LXC, then on the **_Resources_** tab and change the **_Memory_**, **_Cores_** and **_Root Disk_** (Resize disk) settings to what you desire. Changes are immediate. +**You must setup jdownloader2 in LXC console first** + +Run from the LXC console and follow the instructions: + +``` +sudo -u jdown2 java -jar /opt/jdown2/JDownloader.jar -norestart +``` + ____________________________________________________________________________________________ diff --git a/jdownloader2_setup.sh b/jdownloader2_setup.sh index 134dd8f..37bf4cb 100644 --- a/jdownloader2_setup.sh +++ b/jdownloader2_setup.sh @@ -49,11 +49,11 @@ cd /opt/jdown2 echo -e "${CHECKMARK} \e[1;92m Downloading jdownloader2... \e[0m" sudo -u jdown2 wget http://installer.jdownloader.org/JDownloader.jar -wget -O /etc/systemd/system/jdownloader2.service https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/jdownloader2.service +wget -O /etc/systemd/system/jdownloader2.service https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/jdownloader2.service &>/dev/null echo -e "${CHECKMARK} \e[1;92m Enable and start systemd service for jdownloader2... \e[0m" -systemctl daemon-reload -systemctl enable --now jdownloader2 +systemctl daemon-reload &>/dev/null +systemctl enable jdownloader2 &>/dev/null echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m" rm /etc/motd