/
githubmirror
/
audit-userspace
Обзор
Документация
Войти
/
githubmirror
/
audit-userspace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
init.d/auditd.cron
13 строк
332 B
Attila Lakatos
auditd.cron.5: Describe time-based log rotation setup (#434)
07 фев 2025, 22:24
Не верифицирован
07 фев 2025, 22:24
074c356
Код
Авторство
О чём код?
#!/bin/sh ########## # This script can be installed to the cron system to get log rotation # based on time instead of log size. ########## /sbin/auditctl --signal rotate EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t auditd "ALERT auditctl exited abnormally with [$EXITVALUE] while rotating the logs" fi exit 0