17 lines
435 B
SYSTEMD
17 lines
435 B
SYSTEMD
|
[Unit]
|
||
|
Description=Disk Cache Cleaning Daemon for the Apache HTTP Server
|
||
|
After=httpd.service
|
||
|
Documentation=man:htcacheclean.service(8)
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
User=apache
|
||
|
PIDFile=/run/httpd/htcacheclean/pid
|
||
|
Environment=LANG=C
|
||
|
EnvironmentFile=/etc/sysconfig/htcacheclean
|
||
|
ExecStart=/usr/sbin/htcacheclean -P /run/httpd/htcacheclean/pid -d $INTERVAL -p $CACHE_ROOT -l $LIMIT $OPTIONS
|
||
|
PrivateTmp=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|