Changeset 2580
- Timestamp:
- 02/06/10 22:58:48 (7 months ago)
- Location:
- trunk
- Files:
-
- 4 modified
-
CHANGELOG (modified) (1 diff)
-
configs/opensuse/ispcp.conf (modified) (4 diffs)
-
configs/opensuse/logrotate/ispcp (modified) (5 diffs)
-
docs/OpenSuse/postinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGELOG
r2579 r2580 4 4 2010-02-06 Benedikt Heintel 5 5 - CONFIGS: 6 * Fixed #2189: Small patch for opensuse 6 7 * Fixed #2197: ispcp-vrl-traff-correction should be disabled 7 8 - GUI: -
trunk/configs/opensuse/ispcp.conf
r2512 r2580 53 53 CMD_AWK = /usr/bin/awk 54 54 55 CMD_BZCAT = / bin/bzcat56 57 CMD_BZIP = / bin/bzip255 CMD_BZCAT = /usr/bin/bzcat 56 57 CMD_BZIP = /usr/bin/bzip2 58 58 59 59 CMD_CHOWN = /bin/chown … … 73 73 CMD_ECHO = /bin/echo 74 74 75 CMD_EGREP = / bin/egrep76 77 CMD_GZCAT = / bin/zcat75 CMD_EGREP = /usr/bin/egrep 76 77 CMD_GZCAT = /usr/bin/zcat 78 78 79 79 CMD_GZIP = /bin/gzip 80 80 81 CMD_GREP = / bin/grep81 CMD_GREP = /usr/bin/grep 82 82 83 83 CMD_GROUPADD = /usr/sbin/groupadd … … 105 105 CMD_RM = /bin/rm 106 106 107 CMD_SED = / bin/sed107 CMD_SED = /usr/bin/sed 108 108 109 109 CMD_SHELL = /bin/bash … … 119 119 CMD_WC = /usr/bin/wc 120 120 121 PEAR_DIR = /usr/share/php 121 PEAR_DIR = /usr/share/php5 122 122 123 123 # -
trunk/configs/opensuse/logrotate/ispcp
r1944 r2580 1 # ispCP ω (OMEGA) a Virtual Hosting Control Panel 2 # Copyright (C) 2001-2006 by moleSoftware GmbH - http://www.molesoftware.com 3 # Copyright (C) 2006-2010 by isp Control Panel - http://ispcp.net 4 # 5 # Version: $id$ 6 # 7 # The contents of this file are subject to the Mozilla Public License 8 # Version 1.1 (the "License"); you may not use this file except in 9 # compliance with the License. You may obtain a copy of the License at 10 # http://www.mozilla.org/MPL/ 11 # 12 # Software distributed under the License is distributed on an "AS IS" 13 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 14 # License for the specific language governing rights and limitations 15 # under the License. 16 # 17 # The Original Code is "VHCS - Virtual Hosting Control System". 18 # 19 # The Initial Developer of the Original Code is moleSoftware GmbH. 20 # Portions created by Initial Developer are Copyright (C) 2001-2006 21 # by moleSoftware GmbH. All Rights Reserved. 22 # Portions created by the ispCP Team are Copyright (C) 2006-2010 by 23 # isp Control Panel. All Rights Reserved. 24 # 25 # The ispCP ω Home Page is: 26 # 27 # http://isp-control.net 28 # 29 30 # Rotation for user logs for ispCP traffic count 31 # 1 32 /var/log/apache2/users/*.log { 2 33 weekly … … 9 40 sharedscripts 10 41 prerotate 11 /srv/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log42 /srv/www/ispcp/engine/traffic/ispcp-srv-traff-SUSE &>/var/log/ispcp/ispcp-srv-traff.log 12 43 endscript 13 44 postrotate 14 /etc/init.d/apache2 reload > /dev/null 45 if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then 46 /etc/init.d/apache2 reload > /dev/null 47 fi 15 48 endscript 16 49 } 17 50 18 /var/log/apache2/backup/*.log.perv { 51 # Rotation for user traffic prevs 52 # 53 /var/log/apache2/backup/*.log.prev { 19 54 size 5M 20 55 missingok … … 26 61 } 27 62 63 # Transfer rotation for ProFTPd 64 # 28 65 /var/log/proftpd/xferlog { 29 66 daily … … 33 70 delaycompress 34 71 postrotate 35 if [ -e /var/run/syslog-n d.pid ]; then72 if [ -e /var/run/syslog-ng.pid ]; then 36 73 /usr/bin/killall -HUP syslog-ng 37 74 elif [ -e /var/run/rsyslogd.pid ]; then 38 75 /usr/bin/killall -HUP rsyslogd 39 fi76 fi 40 77 endscript 41 78 } 42 79 80 # ProFTPd traffic rotation for ispCP traffic count 81 # 43 82 /var/log/proftpd/ftp_traff.log { 44 83 daily … … 51 90 endscript 52 91 postrotate 53 if [ -e /var/run/syslog-n d.pid ]; then92 if [ -e /var/run/syslog-ng.pid ]; then 54 93 /usr/bin/killall -HUP syslog-ng 55 94 elif [ -e /var/run/rsyslogd.pid ]; then -
trunk/docs/OpenSuse/postinst
r2505 r2580 181 181 $CMD_SED -i 's/POSTGREY_CONN_OPTIONS="--unix=\/var\/spool\/postfix\/postgrey\/socket"/#POSTGREY_CONN_OPTIONS="--unix=\/var\/spool\/postfix\/postgrey\/socket"/' /etc/sysconfig/postgrey 182 182 fi 183 184 # 185 # rkhunter 186 # 187 echo " Building rkhunter database" 188 /usr/bin/rkhunter --propupd & 183 189 184 190 #
