diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-01-10 16:38:11 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-01-10 16:38:11 +0300 |
commit | 978781c7cd9be215dcde195a621cdcd3b05d15f7 (patch) | |
tree | 1dd3f333e9913d74dd31b3cd8ba41cc9130f3a7d /etc/nextcloudpi-config.d | |
parent | 7d105f8ebc2f8d2b201ae3ac45b35ee0933c1770 (diff) |
nc-ramlogs: limit tmpfs to 100Mv0.44.14
Diffstat (limited to 'etc/nextcloudpi-config.d')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-ramlogs.sh | 4 |
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 |