webbuilder_pel7ppc64bebuilder0
6 years ago
2 changed files with 27 additions and 0 deletions
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
[Unit] |
||||
Description=Disk Cache Cleaning Daemon for Apache HTTP Server |
||||
After=httpd.service |
||||
Documentation=man:htcacheclean(8) |
||||
|
||||
[Service] |
||||
Type=forking |
||||
User=apache |
||||
PIDFile=/run/httpd/htcacheclean/pid |
||||
EnvironmentFile=/etc/sysconfig/htcacheclean |
||||
ExecStart=/usr/sbin/htcacheclean -P /run/httpd/htcacheclean/pid -d $INTERVAL -p $CACHE_ROOT -l $LIMIT $OPTIONS |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
# |
||||
# Configuration options for systemd service, htcacheclean.service. |
||||
# See htcacheclean(8) for more information on available options. |
||||
# |
||||
|
||||
# Interval between cache clean runs, in minutes |
||||
INTERVAL=15 |
||||
|
||||
# Default cache root. |
||||
CACHE_ROOT=/var/cache/httpd/proxy |
||||
|
||||
# Cache size limit in bytes (K=Kbytes, M=Mbytes) |
||||
LIMIT=100M |
||||
|
||||
# Any other options... |
||||
OPTIONS= |
Loading…
Reference in new issue