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