Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1260 → Rev 1261

/alcasar.sh
1524,8 → 1524,6
do
find /var/log/$dir -type f -name *.log-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] -exec gzip {} \;
done
# export des logs en 'retard' dans /var/Save/logs
/usr/local/bin/alcasar-archive.sh --now
# create the alcasar-load_balancing unit
cat << EOF > /lib/systemd/system/alcasar-load_balancing.service
# This file is part of systemd.
1649,6 → 1647,8
# Load and apply the previous conf file
if [ "$mode" = "update" ]
then
# export des logs en 'retard' dans /var/Save/logs
/usr/local/bin/alcasar-archive.sh --now
$DIR_DEST_BIN/alcasar-conf.sh --load
PARENT_SCRIPT=`basename $0`
export PARENT_SCRIPT # to avoid stop&start process during the installation process
/scripts/alcasar-urpmi.sh
159,6 → 159,8
fi
urpmi --auto --quiet $KERNEL
echo "/^kernel/" > /etc/urpmi/skip.list
# download "timezone" to avoid a mageia issue --> should be remove with mageia3
urpmi timezone
# download updated RPM in cache
if [ $Lang == "fr" ]
then