mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Update v-clean-garbage
This commit is contained in:
parent
d6a84f37d2
commit
94770a5f12
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue