/
githubmirror
/
audit-userspace
Обзор
Документация
Войти
/
githubmirror
/
audit-userspace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
init.d/audit-rules.service.in
26 строк
947 B
Laurent Bigonville
Make the paths inside the systemd .service files configurable (#350)
28 фев 2024, 17:56
Не верифицирован
28 фев 2024, 17:56
893a18a
Код
Авторство
О чём код?
[Unit] Description=Load Audit Rules ConditionKernelCommandLine=!audit=0 ConditionKernelCommandLine=!audit=off DefaultDependencies=no # We need the local file system for the rules. Augenrules uses /tmp while # constructing rules, so we have to wait for that to be available, too. After=local-fs.target systemd-tmpfiles-setup.service Documentation=man:auditctl(8) https://github.com/linux-audit/audit-documentation [Service] Type=oneshot ExecStart=@sbindir@/augenrules --load # By default we don't clear the rules on exit. To enable this, uncomment the # next line after copying the file to /etc/systemd/system/audit-rules.service #ExecStopPost=@sbindir@/auditctl -R @sysconfdir@/audit/audit-stop.rules ### Security Settings ### # This won't use any security settings. They tend to interfere with # loading rules anyways. Since its a one-shot service with root owned # input, let's just load and get done. [Install] WantedBy=multi-user.target