Browse Source

Fix rc-script. Backslashes were missing. PR: 9 Submitted by: Christoph Schug <chris@schug.net>

master
parent
commit
4fd97457ec
  1. 2
      apache/apache.spec
  2. 4
      apache/rc.apache

2
apache/apache.spec

@ -69,7 +69,7 @@ Distribution: OpenPKG [EXP]
Group: Web
License: BSD-style
Version: %{V_apache}
Release: 22
Release: 23
# list of sources
Source0: http://httpd.apache.org/dist/httpd/apache_%{V_apache}.tar.gz

4
apache/rc.apache

@ -35,7 +35,7 @@
opServiceEnabled apache || exit 0
if [ ".$apache_log_files" != . ]; then
shtool rotate -f \
-n${apache_log_rotsteps} -s${apache_log_rotminsize} -d
-n${apache_log_rotsteps} -s${apache_log_rotminsize} -d \
-z${apache_log_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
-P "$apache_log_rotprolog" \
-E "@l_prefix@/sbin/apachectl restart; $apache_log_rotepilog" \
@ -43,7 +43,7 @@
fi
if [ ".$apache_err_files" != . ]; then
shtool rotate -f \
-n${apache_err_rotsteps} -s${apache_err_rotminsize} -d
-n${apache_err_rotsteps} -s${apache_err_rotminsize} -d \
-z${apache_err_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
-P "$apache_err_rotprolog" \
-E "@l_prefix@/sbin/apachectl restart; $apache_err_rotepilog" \

Loading…
Cancel
Save