Update v-clean-garbage

This commit is contained in:
myvesta 2023-02-05 16:43:14 +01:00 committed by GitHub
commit 94770a5f12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ source /usr/local/vesta/func/main.sh
# Action # # Action #
#----------------------------------------------------------# #----------------------------------------------------------#
rm /var/backups/* rm /var/backups/* > /dev/null 2>&1
rm /var/cache/apt/archives/* > /dev/null 2>&1 rm /var/cache/apt/archives/* > /dev/null 2>&1
cd /var/log cd /var/log
truncate -s 0 xferlog lastlog faillog btmp syslog; truncate -s 0 xferlog lastlog faillog btmp syslog;