OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17210
/
etc
/
cron.daily
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/02/2024 07:52:55 PM
rwxr-xr-x
📄
.placeholder
102 bytes
05/10/2022 10:15:24 PM
rw-r--r--
📄
dpkg
1.56 KB
11/26/2015 11:51:59 PM
rwxr-xr-x
📄
logrotate
372 bytes
03/22/2017 10:18:21 AM
rwxr-xr-x
📄
passwd
249 bytes
11/12/2015 10:12:32 PM
rwxr-xr-x
Editing: logrotate
Close
#!/bin/sh # Clean non existent log file entries from status file cd /var/lib/logrotate test -e status || touch status head -1 status > status.clean sed 's/"//g' status | while read logfile date do [ -e "$logfile" ] && echo "\"$logfile\" $date" done >> status.clean mv status.clean status test -x /usr/sbin/logrotate || exit 0 /usr/sbin/logrotate /etc/logrotate.conf