File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ postgres_major:
10
10
# Full version strings for each major version
11
11
postgres_release :
12
12
postgresorioledb-17 : " 17.5.1.009-orioledb"
13
- postgres17 : " 17.4.1.067-rc.1 "
13
+ postgres17 : " 17.4.1.067-rc.2 "
14
14
postgres15 : " 15.8.1.123"
15
15
16
16
# Non Postgres Extensions
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ rm -rf /tmp/* /var/tmp/*
72
72
history -c
73
73
cat /dev/null > /root/.bash_history
74
74
unset HISTFILE
75
+
76
+ journalctl --rotate
77
+ journalctl --vacuum-time=1s
75
78
find /var/log -mtime -1 -type f -exec truncate -s 0 {} \;
76
79
rm -rf /var/log/* .gz /var/log/* .[0-9] /var/log/* -????????
77
80
rm -rf /var/lib/cloud/instances/*
@@ -81,4 +84,14 @@ chmod 600 /etc/ssh/revoked_keys
81
84
82
85
cat /dev/null > /var/log/lastlog
83
86
cat /dev/null > /var/log/wtmp
87
+
88
+ dd if=/dev/zero of=/zerofile &
89
+ PID=$!
90
+ while [ -d /proc/$PID ]
91
+ do
92
+ printf " ."
93
+ sleep 5
94
+ done
95
+ sync; rm /zerofile; sync
96
+
84
97
fstrim /
You can’t perform that action at this time.
0 commit comments