Changeset 2344

Show
Ignore:
Timestamp:
10/07/08 22:14:15 (1 month ago)
Author:
anarcat
Message:

fix apache restart sequence so they don't get restarted twice and only if necessary

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/install/alternc.install

    r2342 r2344  
    303303# Reload services 
    304304# 
    305 for service in $SERVICES postfix bind9 courier-authdaemon \ 
     305for service in postfix bind9 courier-authdaemon \ 
    306306               courier-imap courier-imap-ssl courier-pop courier-pop-ssl \ 
    307307               cron proftpd; do 
     
    337337 
    338338# We should restart apaches after all configuration stuff ... 
    339 for service in apache apache-ssl apache2 ; do 
     339for service in $SERVICES; do 
    340340    test -x /etc/init.d/$service && invoke-rc.d $service stop || true 
    341341done 
    342 for service in apache apache-ssl apache2 ; do 
     342for service in $SERVICES; do 
    343343    test -x /etc/init.d/$service && invoke-rc.d $service start || true 
    344344done