fix: Remove flag (#487)

* fix: Remove flag
This commit is contained in:
Kroese 2023-12-23 22:58:45 +01:00 committed by GitHub
parent e4334f9499
commit f0d08ef263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 6 deletions

View File

@ -15,7 +15,6 @@ services:
- 'c *:* rwm'
cap_add:
- NET_ADMIN
- LINUX_IMMUTABLE
ports:
- 5000:5000
volumes:

View File

@ -36,7 +36,6 @@ services:
- /dev/kvm
cap_add:
- NET_ADMIN
- LINUX_IMMUTABLE
ports:
- 5000:5000
volumes:

View File

@ -295,8 +295,7 @@ checkFS () {
if [[ "$FA" != *"C"* ]]; then
info "Warning: the filesystem of $DIR is ${FS^^}, and COW (copy on write) is not disabled for that folder!"
info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag"
info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>"
info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C <path>)."
fi
fi

View File

@ -63,8 +63,7 @@ if [[ "$FS" == "xfs" || "$FS" == "zfs" || "$FS" == "btrfs" || "$FS" == "bcachefs
fi
if [[ "$FA" != *"C"* ]]; then
info "Warning: the filesystem of $STORAGE is ${FS^^}, and COW (copy on write) is not disabled for that folder!"
info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag"
info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>"
info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C <path>)."
fi
fi