wok-6.x diff apache/receipt @ rev 17102
Add iptstate
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Aug 29 20:58:08 2014 +0100 (2014-08-29) |
parents | 854aac736a5d |
children | f2bdc266fba2 |
line diff
1.1 --- a/apache/receipt Tue Oct 15 22:45:52 2013 +0000 1.2 +++ b/apache/receipt Fri Aug 29 20:58:08 2014 +0100 1.3 @@ -78,7 +78,7 @@ 1.4 # Just in case. 1.5 chown www.www $1/var/log/$PACKAGE 1.6 ping -c 2 $(hostname) > /dev/null 2>&1 || 1.7 - sed -i "s/localhost/$(hostname) localhost/" /etc/hosts 1.8 + sed -i "s/localhost/$(hostname) localhost/" $1/etc/hosts 1.9 [ -s $1/etc/ssl/apache/apache.pem ] || 1.10 openssl req -new -x509 -keyout $1/etc/ssl/apache/apache.pem \ 1.11 -out $1/etc/ssl/apache/apache.pem -days 3650 -nodes <<EOT 1.12 @@ -97,6 +97,7 @@ 1.13 echo "Reconfiguring $pkg for $PACKAGE..." 1.14 tazpkg reconfigure $pkg 1.15 done 1.16 + [ -f $1/etc/php.ini ] && tazpkg get-install php-apache --root=$1 1.17 if [ -z "$1" ]; then 1.18 for i in lighttpd ; do 1.19 [ -f /etc/init.d/$i ] && /etc/init.d/$i stop