Changeset 2899 for Serveur


Ignore:
Timestamp:
01/26/10 16:18:55 (9 years ago)
Author:
kent1
Message:

L'installation par défaut de sympa se fait dans /home/sympa/

-type d dans un find doit être après un -maxdepth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Serveur/munin/sympa4munin/sympa_spool

    r2897 r2899  
    1313#%# family=auto
    1414#%# capabilities=autoconf
    15 SYMPA_SPOOL="/opt/sympa/spool/"
     15SYMPA_SPOOL="/home/sympa/spool"
    1616QUEUES="auth bounce digest distribute expire moderation msg outgoing subscribe task tmp topic msg/bad distribute/bad"
    1717if [ "$1" = "autoconf" ]; then
     
    2828
    2929
    30 for i in $QUEUES ; do  COUNT=`find ${SYMPA_SPOOL}/$i -type f -maxdepth 1|wc -l|tr -d " "`; echo $i.value $COUNT | tr "/" "_" ; done ;
     30for i in $QUEUES ; do  COUNT=`find ${SYMPA_SPOOL}/$i -maxdepth 1 -type f|wc -l|tr -d " "`; echo $i.value $COUNT | tr "/" "_" ; done ;
Note: See TracChangeset for help on using the changeset viewer.