ALT Linux repos
S: | 2.4.57-alt2 |
D: | 2.2.9-alt11 |
5.0: | 2.2.24-alt2.M50.1 |
4.1: | 2.2.8-alt1 |
4.0: | 2.2.6-alt4 |
+updates: | 2.2.6-alt2 |
3.0: | 2.0.55-alt1 |
+backports: | 2.0.59-alt0.M30.1 |
Other repositories
Upstream: | 2.2.8 |
Group :: System/Servers
RPM: apache2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#! /bin/sh
. /etc/control.d/functions
CONFIG=%_sysconfdir/sysconfig/%apache2_htcacheclean_dname
new_summary 'htcacheclean daemon ro cron mode management'
facility=yes
for facility in daemon cron
do
new_subst $facility \
"^[[:space:]]*HTCACHECLEAN_MODE=([\"']?)$facility\1([[:space:]]+(#.*)?)?$" \
"s,^\\([[:space:]]*HTCACHECLEAN_MODE=\\([\"']\\?\\)\\)[^#\"']*\\2\\([[:space:]]\\+\\(#.*\\)\\?\\)\\?$,\\1$facility\\2\\3,"
done
new_help daemon "Run htcacheclean in daemon mode"
new_help cron "Run htcacheclean in cron mode"
control_subst "$CONFIG" status || exit 1