mirror of
https://github.com/kidwellj/proxmox-scripts.git
synced 2025-01-09 13:12:22 +00:00
NFS share for jdownloader2 (temporarily) disabled
This commit is contained in:
parent
d4f56f4e4c
commit
38e62650ec
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue