From ee4856e5fc91ff877c0b9cf17b1c3492117d4d62 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Wed, 2 Oct 2019 20:56:34 +0200 Subject: [PATCH] Add noatime to fstab --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21e49d3..fb47bc8 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,8 @@ postmap /etc/postfix-clearnet/canonical /etc/postfix-clearnet/sasl_password /etc To save temporary files in memory, add the following to `/etc/fstab`: ``` -tmpfs /tmp tmpfs defaults 0 0 -tmpfs /var/log/nginx tmpfs rw,user 0 0 +tmpfs /tmp tmpfs defaults,noatime 0 0 +tmpfs /var/log/nginx tmpfs rw,user,noatime 0 0 ``` As time syncronisation is important, you should configure ntp servers in `/etc/systemd/timesyncd.conf` and make them match with the entries in `/etc/rc.local` iptables configuration @@ -103,7 +103,7 @@ Enable the PHP-FPM default instance: systemctl enable php7.3-fpm@default ``` -Edit `/etc/fstab` and add the `usrjquota=aquota.user,jqfmt=vfsv1` option to the /home mountpoint. Then initialize quota: +Edit `/etc/fstab` and add the `noatime,usrjquota=aquota.user,jqfmt=vfsv1` option to the `/home` mountpoint and `noatime`to `/`. Then initialize quota: ``` mount -o remount /home quotacheck -cu /home