mirror of
https://github.com/kidwellj/proxmox-scripts.git
synced 2024-12-04 21:12:23 +00:00
Updated jdownloader2
This commit is contained in:
parent
3a5f0ffc36
commit
1c3d9e4ce3
2
config_files/exports
Normal file
2
config_files/exports
Normal 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)
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue