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