wok-6.x rev 18591

apache: typos in /etc/init.d/apache (thanks llev)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 13 10:58:30 2015 +0100 (2015-11-13)
parents d2c1950b6f95
children fb5d18e72609
files apache/stuff/apache
line diff
     1.1 --- a/apache/stuff/apache	Fri Nov 13 10:54:50 2015 +0100
     1.2 +++ b/apache/stuff/apache	Fri Nov 13 10:58:30 2015 +0100
     1.3 @@ -9,7 +9,7 @@
     1.4  NAME=Apache
     1.5  DESC="Apache Web Server"
     1.6  DAEMON=/usr/bin/apachectl
     1.7 -OPTIONS=
     1.8 +OPTIONS=$APACHE_OPTIONS
     1.9  PIDFILE=/var/run/apache/httpd.pid
    1.10  
    1.11  case "$1" in
    1.12 @@ -28,7 +28,7 @@
    1.13        exit 1
    1.14      fi
    1.15      echo -n "Stopping $DESC: $NAME... "
    1.16 -    $DAEMON $OPTION -k stop
    1.17 +    $DAEMON $OPTIONS -k stop
    1.18      rm $PIDFILE
    1.19      status
    1.20      ;;
    1.21 @@ -38,7 +38,7 @@
    1.22        exit 1
    1.23      fi
    1.24      echo -n "Stopping $DESC: $NAME... "
    1.25 -    $DAEMON $OPTION -k graceful
    1.26 +    $DAEMON $OPTIONS -k graceful
    1.27      status
    1.28      ;;
    1.29    restart)