Commit bbcd49c8 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

Nettoyage d'hiver

parent 4279b3db
#!/bin/sh
export PYTHONIOENCODING=utf-8
sudo -u respbats /usr/scripts/utils/chambre.py $*
#! /bin/sh
sudo -u respbats /usr/scripts/gestion/logreader/rsyslog_reader.py $*
#!/bin/sh
exec sudo /usr/scripts/impression/redemarre_intranet.sh
#!/bin/bash
# Petit script pour réduire la place prise par les anciens logs
# de ldap qui ne sont plus utilisés
STORE=/var/lib/ldap
ARCHIVE_BIN=/usr/bin/db5.1_archive
for f in `$ARCHIVE_BIN -h $STORE`; do
echo Removing $f ...
rm -f $STORE/$f
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment