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