[ldap] Ajout d'un petit script pour compresser les logs
Ignore-this: 75f8f53c6f5e66e360bb83857ac9ea26 darcs-hash:20120710124745-28565-e08eaf287717fa32b4fee28a564742d3815920b0.gz
This commit is contained in:
parent
95d711e690
commit
88fb0e7faa
1 changed files with 10 additions and 0 deletions
10
adm/compress_ldap_log.sh
Executable file
10
adm/compress_ldap_log.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/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
|
||||
|
||||
for f in `db4.8_archive -h $STORE`; do
|
||||
gzip $STORE/$f
|
||||
done
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue