c72daf6
c72daf6
c72daf6
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
c72daf6
c72daf6
]>
c72daf6
c72daf6
 Copyright 2018 Red Hat, Inc.
c72daf6
c72daf6
 Licensed to the Apache Software Foundation (ASF) under one or more
c72daf6
 contributor license agreements.  See the NOTICE file distributed with
c72daf6
 this work for additional information regarding copyright ownership.
c72daf6
 The ASF licenses this file to You under the Apache License, Version 2.0
c72daf6
 (the "License"); you may not use this file except in compliance with
c72daf6
 the License.  You may obtain a copy of the License at
c72daf6
c72daf6
     http://www.apache.org/licenses/LICENSE-2.0
c72daf6
c72daf6
 Unless required by applicable law or agreed to in writing, software
c72daf6
 distributed under the License is distributed on an "AS IS" BASIS,
c72daf6
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
c72daf6
 See the License for the specific language overning permissions and
c72daf6
 limitations under the License.
c72daf6
-->
c72daf6
<refentry>
c72daf6
  <refentryinfo>
c72daf6
    <title>htcacheclean systemd unit</title>
c72daf6
    <productname>httpd</productname>
c72daf6
    <author><contrib>Author</contrib><surname>Orton</surname><firstname>Joe</firstname><email>jorton@redhat.com</email></author>
c72daf6
  </refentryinfo>
c72daf6
c72daf6
  <refmeta>
c72daf6
    <refentrytitle>htcacheclean.service</refentrytitle>
c72daf6
    <manvolnum>8</manvolnum>
c72daf6
  </refmeta>
c72daf6
c72daf6
  <refnamediv>
c72daf6
    <refname>htcacheclean.service</refname>
c72daf6
    <refpurpose>htcacheclean unit file for systemd</refpurpose>
c72daf6
  </refnamediv>
c72daf6
c72daf6
  <refsynopsisdiv>
c72daf6
    <para>
c72daf6
      <filename>/usr/lib/systemd/system/htcacheclean.service</filename>
c72daf6
    </para>
c72daf6
  </refsynopsisdiv>
c72daf6
c72daf6
  <refsect1>
c72daf6
    <title>Description</title>
c72daf6
c72daf6
    <para>This manual page describes the <command>systemd</command>
c72daf6
    unit file for the <command>htcacheclean</command> daemon.  This
c72daf6
    unit file provides a service which runs
25b89a9
    <command>htcacheclean</command> in daemon mode,
c72daf6
    periodically cleaning the disk cache root to ensure disk space
c72daf6
    usage is within configured limits.</para>
c72daf6
c72daf6
  </refsect1>
c72daf6
c72daf6
  <refsect1>
c72daf6
    <title>Options</title>
c72daf6
c72daf6
    <para>The service is configured by configuration file
c72daf6
    <filename>/etc/sysconfig/htcacheclean</filename>. The following
c72daf6
    variables are used, following standard <command>systemd</command>
c72daf6
    <varname>EnvironmentFile=</varname> syntax:</para>
c72daf6
c72daf6
    <variablelist>
c72daf6
      <varlistentry>
c72daf6
        <term><varname>INTERVAL=</varname></term>
c72daf6
c72daf6
        <listitem><para>Sets the interval between cache clean runs, in
c72daf6
        minutes.  By default this is configured as
c72daf6
        <emphasis>15</emphasis>.</para></listitem>
c72daf6
      </varlistentry>
c72daf6
c72daf6
      <varlistentry>
c72daf6
        <term><varname>CACHE_ROOT=</varname></term>
c72daf6
c72daf6
        <listitem><para>Sets the directory name used for the cache
c72daf6
        root.  By default this is configured as
c72daf6
        <filename>/var/cache/httpd/proxy</filename>.</para></listitem>
c72daf6
      </varlistentry>
c72daf6
c72daf6
      <varlistentry>
c72daf6
        <term><varname>LIMIT=</varname></term>
c72daf6
c72daf6
        <listitem><para>Sets the total disk cache space limit, in
c72daf6
        bytes.  Use a <emphasis>K</emphasis> or <emphasis>M</emphasis>
c72daf6
        suffix to signify kilobytes or megabytes.  By default this is
c72daf6
        set to <emphasis>100M</emphasis>.</para></listitem>
c72daf6
      </varlistentry>
c72daf6
c72daf6
      <varlistentry>
c72daf6
        <term><varname>OPTIONS=</varname></term>
c72daf6
c72daf6
        <listitem><para>Any other options to pass to
c72daf6
        <command>htcacheclean</command>.</para></listitem>
c72daf6
      </varlistentry>
c72daf6
    </variablelist>
c72daf6
  </refsect1>
c72daf6
c72daf6
  <refsect1>
c72daf6
    <title>Files</title>
c72daf6
c72daf6
    <para><filename>/usr/lib/systemd/system/htcacheclean.service</filename>,
c72daf6
    <filename>/etc/sysconfig/htcacheclean</filename></para>
c72daf6
  </refsect1>
c72daf6
c72daf6
  <refsect1>
c72daf6
    <title>See also</title>
c72daf6
c72daf6
    <para>
c72daf6
    <citerefentry><refentrytitle>htcacheclean</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
c72daf6
    <citerefentry><refentrytitle>httpd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
c72daf6
    <citerefentry><refentrytitle>httpd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
c72daf6
    <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>8</manvolnum></citerefentry>
c72daf6
    </para>
c72daf6
  </refsect1>
c72daf6
c72daf6
</refentry>
c72daf6
c72daf6
c72daf6
-->