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