'\" t
.\"     Title: htcacheclean.service
.\"    Author: Joe Orton <jorton@redhat.com>
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 02/03/2026
.\"    Manual: htcacheclean systemd unit
.\"    Source: httpd
.\"  Language: English
.\"
.TH "HTCACHECLEAN\&.SERVI" "8" "02/03/2026" "httpd" "htcacheclean systemd unit"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
htcacheclean.service \- htcacheclean unit file for systemd
.SH "SYNOPSIS"
.PP
/usr/lib/systemd/system/htcacheclean\&.service
.SH "DESCRIPTION"
.PP
This manual page describes the
\fBsystemd\fR
unit file for the
\fBhtcacheclean\fR
daemon\&. This unit file provides a service which runs
\fBhtcacheclean\fR
in daemon mode, periodically cleaning the disk cache root to ensure disk space usage is within configured limits\&.
.SH "OPTIONS"
.PP
The service is configured by configuration file
/etc/sysconfig/htcacheclean\&. The following variables are used, following standard
\fBsystemd\fR
\fIEnvironmentFile=\fR
syntax:
.PP
\fIINTERVAL=\fR
.RS 4
Sets the interval between cache clean runs, in minutes\&. By default this is configured as
\fI15\fR\&.
.RE
.PP
\fICACHE_ROOT=\fR
.RS 4
Sets the directory name used for the cache root\&. By default this is configured as
/var/cache/httpd/proxy\&.
.RE
.PP
\fILIMIT=\fR
.RS 4
Sets the total disk cache space limit, in bytes\&. Use a
\fIK\fR
or
\fIM\fR
suffix to signify kilobytes or megabytes\&. By default this is set to
\fI100M\fR\&.
.RE
.PP
\fIOPTIONS=\fR
.RS 4
Any other options to pass to
\fBhtcacheclean\fR\&.
.RE
.SH "FILES"
.PP
/usr/lib/systemd/system/htcacheclean\&.service,
/etc/sysconfig/htcacheclean
.SH "REPORTING BUGS"
.PP
Please report bugs by filing an issue in https://bugzilla\&.redhat\&.com/\&.
.SH "SEE ALSO"
.PP
\fBhtcacheclean\fR(8),
\fBhttpd\fR(8),
\fBhttpd.service\fR(8),
\fBsystemd.exec\fR(8)
.SH "AUTHOR"
.PP
\fBJoe Orton\fR <\&jorton@redhat\&.com\&>
.RS 4
Author
.RE
