Blame SPECS/htcacheclean.service.xml

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