summaryrefslogtreecommitdiff
path: root/htcacheclean.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-02-02 12:03:31 +0000
committerCoprDistGit <infra@openeuler.org>2024-02-02 12:03:31 +0000
commita12b5db2a95667c9a8affb404d5b5684cad488e4 (patch)
tree1114887c887a02562e246afc80785b03779f5ce3 /htcacheclean.service
parent234812b47987978dfc84e99bfdca4f5f4d6fbfa9 (diff)
automatic import of httpd
Diffstat (limited to 'htcacheclean.service')
-rw-r--r--htcacheclean.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/htcacheclean.service b/htcacheclean.service
new file mode 100644
index 0000000..166067b
--- /dev/null
+++ b/htcacheclean.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Disk Cache Cleaning Daemon for Apache HTTP Server
+After=httpd.service
+
+[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