mirror of
https://codeberg.org/andyscott/s6-scripts.git
synced 2024-12-23 02:43:12 -05:00
9 lines
444 B
Text
9 lines
444 B
Text
#!/bin/execlineb -P
|
|
envfile /etc/s6/config/tomoyo-audit.conf
|
|
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
|
|
ifelse { test -w /var/log } {
|
|
foreground { install -d -o s6log -g s6log /var/log/tomoyo-auditd }
|
|
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/tomoyo-auditd
|
|
}
|
|
foreground { install -d -o s6log -g s6log /run/log/tomoyo-auditd }
|
|
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/tomoyo-auditd
|