--- admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches
diff --git a/admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches b/admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches new file mode 100755 index 0000000..814159f --- /dev/null +++ b/admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches @@ -0,0 +1,4 @@ +#!/bin/sh + +sync +sysctl -w vm.drop_caches=3
On 07/19/2016 02:39 AM, Jan-Tarek Butt wrote:
admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches
Thanks, applied with modified commit message.
-- NeoRaider
diff --git a/admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches b/admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches new file mode 100755 index 0000000..814159f --- /dev/null +++ b/admin/autoupdater/files/usr/lib/autoupdater/upgrade.d/95drop_caches @@ -0,0 +1,4 @@ +#!/bin/sh
+sync +sysctl -w vm.drop_caches=3