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:
1010# Full version strings for each major version
1111postgres_release :
1212 postgresorioledb-17 : " 17.5.1.009-orioledb"
13- postgres17 : " 17.4.1.067-rc.1 "
13+ postgres17 : " 17.4.1.067-rc.2 "
1414 postgres15 : " 15.8.1.123"
1515
1616# Non Postgres Extensions
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ rm -rf /tmp/* /var/tmp/*
7272history -c
7373cat /dev/null > /root/.bash_history
7474unset HISTFILE
75+
76+ journalctl --rotate
77+ journalctl --vacuum-time=1s
7578find /var/log -mtime -1 -type f -exec truncate -s 0 {} \;
7679rm -rf /var/log/* .gz /var/log/* .[0-9] /var/log/* -????????
7780rm -rf /var/lib/cloud/instances/*
@@ -81,4 +84,14 @@ chmod 600 /etc/ssh/revoked_keys
8184
8285cat /dev/null > /var/log/lastlog
8386cat /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+
8497fstrim /
You can’t perform that action at this time.
0 commit comments