From 4a39ca52471ea0300d55ce0686fe71bb9237c101 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 11 Nov 2023 20:31:35 +0000 Subject: [PATCH] Add cachefilesd configs. --- etc/cachefilesd.conf | 24 ++++++++++++++++++++++++ etc/runit/runsvdir/default/cachefilesd | 1 + etc/sv/.gitignore | 1 + 3 files changed, 26 insertions(+) create mode 100644 etc/cachefilesd.conf create mode 120000 etc/runit/runsvdir/default/cachefilesd diff --git a/etc/cachefilesd.conf b/etc/cachefilesd.conf new file mode 100644 index 0000000..5926824 --- /dev/null +++ b/etc/cachefilesd.conf @@ -0,0 +1,24 @@ +############################################################################### +# +# Copyright (C) 2006,2010 Red Hat, Inc. All Rights Reserved. +# Written by David Howells (dhowells@redhat.com) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version +# 2 of the License, or (at your option) any later version. +# +############################################################################### + +dir /var/cache/fscache +tag nas0 +brun 10% +bcull 9% +bstop 5% +frun 10% +fcull 9% +fstop 5% + +# Assuming you're using SELinux with the default security policy included in +# this package +#secctx system_u:system_r:cachefiles_kernel_t:s0 diff --git a/etc/runit/runsvdir/default/cachefilesd b/etc/runit/runsvdir/default/cachefilesd new file mode 120000 index 0000000..d3f2360 --- /dev/null +++ b/etc/runit/runsvdir/default/cachefilesd @@ -0,0 +1 @@ +/etc/sv/cachefilesd \ No newline at end of file diff --git a/etc/sv/.gitignore b/etc/sv/.gitignore index 2e7d59f..fe594a2 100644 --- a/etc/sv/.gitignore +++ b/etc/sv/.gitignore @@ -17,6 +17,7 @@ /apache/ /autofs/ /brltty/ +/cachefilesd/ /crond /dcron/ /dhcpcd/