htcacheclean systemd unit
httpd
AuthorOrtonJoejorton@redhat.com
htcacheclean.service
8
htcacheclean.service
htcacheclean unit file for systemd
/usr/lib/systemd/system/htcacheclean.service
Description
This manual page describes the systemd
unit file for the htcacheclean daemon. This
unit file provides a service which runs
htcacheclean in daemon mode,
periodically cleaning the disk cache root to ensure disk space
usage is within configured limits.
Options
The service is configured by configuration file
/etc/sysconfig/htcacheclean. The following
variables are used, following standard systemd
EnvironmentFile= syntax:
INTERVAL=
Sets the interval between cache clean runs, in
minutes. By default this is configured as
15.
CACHE_ROOT=
Sets the directory name used for the cache
root. By default this is configured as
/var/cache/httpd/proxy.
LIMIT=
Sets the total disk cache space limit, in
bytes. Use a K or M
suffix to signify kilobytes or megabytes. By default this is
set to 100M.
OPTIONS=
Any other options to pass to
htcacheclean.
Files
/usr/lib/systemd/system/htcacheclean.service,
/etc/sysconfig/htcacheclean
See also
htcacheclean8,
httpd8,
httpd.service8,
systemd.exec8