This commit is contained in:
2023-09-14 19:26:50 -05:00
parent 02fc0e9aca
commit 16f165f1e2
6 changed files with 25 additions and 22 deletions

View File

@@ -141,7 +141,7 @@ SERVICE(){
if [[ " ${NC_HOSTS[*]} " =~ " ${nip} " ]]; then
mntpath="/mnt/Nextcloud-Data"
# elif [[ "${WEBHOSTS}" == *"${nip}"* ]]; then
elif [[ " ${WEB_HOSTS[*]} " =~ " ${nip} " ]]; then
elif [[ " ${NM_HOSTS['WEB'][*]} " =~ " ${nip} " ]]; then
mntpath="/mnt/web-data"
fi
${NCMD} "test -e ${mntpath}/mounted"