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