#!/bin/bash

# rm ~/backups/*
truncate -s 0 /var/www/www.freeplanet_server/out.log
# truncate -s 0 /var/www/www.freeplanet_server/err.log
truncate -s 0 /var/www/www.freeplanet_server/combined.outerr.log

truncate -s 0 /var/www/test.freeplanet_server/out.log
truncate -s 0 /var/www/test.freeplanet_server/err.log
truncate -s 0 /var/www/test.freeplanet_server/combined.outerr.log


rm /var/log/auth.log.*
rm /var/log/btmp.*
rm /var/log/fail2ban.*
rm /var/log/kern.log.*
rm /var/log/mail.err.*
rm /var/log/mail.log.*
rm /var/log/syslog.*
truncate -s 0 /var/log/syslog
truncate -s 0 /var/log/xrdp.log
truncate -s 0 /var/log/auth.log
truncate -s 0 /var/log/kern.log
truncate -s 0 /var/log/mail.log
truncate -s 0 /var/log/mail.err
truncate -s 0 /var/log/btmp


