Updated jdownloader2

This commit is contained in:
Steven Seifried 2022-01-22 10:16:25 +01:00
parent 3a5f0ffc36
commit 1c3d9e4ce3
No known key found for this signature in database
GPG key ID: 174371A9356D63E5
2 changed files with 7 additions and 1 deletions

2
config_files/exports Normal file
View file

@ -0,0 +1,2 @@
/opt/jdown2/Downloads 192.168.1.0/24(rw,sync,no_subtree_check)
/opt/jdown2/Downloads 192.168.178.0/24(rw,sync,no_subtree_check)

View file

@ -51,10 +51,14 @@ 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/systemd_files/jdownloader2.service &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Enable and start systemd service for jdownloader2... \e[0m"
echo -e "${CHECKMARK} \e[1;92m Enable systemd service for jdownloader2... \e[0m"
systemctl daemon-reload &>/dev/null
systemctl enable jdownloader2 &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Setup NFS share for the jdownloader2 Downloads folder... \e[0m"
wget -O /etc/exports https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/config_files/exports &>/dev/null
systemctl restart nfs-kernel-server
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
rm /etc/motd
rm /etc/update-motd.d/10-uname