NFS share for jdownloader2 (temporarily) disabled

This commit is contained in:
Steven Seifried 2022-02-20 23:20:29 +01:00
parent d4f56f4e4c
commit 38e62650ec
No known key found for this signature in database
GPG key ID: 174371A9356D63E5
2 changed files with 6 additions and 15 deletions

View file

@ -206,14 +206,6 @@ Run from the LXC console and follow the instructions:
sudo -u jdown2 java -jar /opt/jdown2/JDownloader.jar -norestart
```
**Enable NFS share**
Run from the LXC console and follow the instructions:
```
systemctl enable --now nfs-kernel-server
```
____________________________________________________________________________________________
</details>

View file

@ -37,8 +37,7 @@ echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m"
apt-get -qqy install \
wget \
sudo \
openjdk-11-jre-headless \
nfs-kernel-server &>/dev/null
openjdk-11-jre-headless &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Create user for jdownloader2... \e[0m"
useradd -s /sbin/nologin jdown2
@ -56,12 +55,12 @@ 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 &>/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 &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Disable NFS server... \e[0m"
systemctl disable --now nfs-kernel-server &>/dev/null
#echo -e "${CHECKMARK} \e[1;92m Disable NFS server... \e[0m"
#systemctl disable --now nfs-kernel-server &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
rm /etc/motd