Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/nextcloudpi-config.d/nc-ramlogs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/nextcloudpi-config.d/nc-ramlogs.sh b/etc/nextcloudpi-config.d/nc-ramlogs.sh
index 867656ac..9459f32d 100644
--- a/etc/nextcloudpi-config.d/nc-ramlogs.sh
+++ b/etc/nextcloudpi-config.d/nc-ramlogs.sh
@@ -31,8 +31,8 @@ configure()
}
grep -q "Logs in RAM" /etc/fstab || cat >> /etc/fstab <<EOF
-tmpfs /var/log tmpfs defaults,noatime,mode=1777 0 0 # Logs in RAM
-tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 # /tmp in RAM
+tmpfs /var/log tmpfs defaults,noatime,mode=1777,size=100M 0 0 # Logs in RAM
+tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 # /tmp in RAM
EOF
# unit to recreate required logdirs