general_initial
This commit is contained in:
parent
3eb8dd2811
commit
a873af1f26
36 changed files with 640 additions and 110 deletions
|
|
@ -46,6 +46,10 @@ profile logrotate @{exec_path} flags=(attach_disconnected) {
|
|||
/{usr/,}bin/mysqladmin rPUx,
|
||||
/{usr/,}bin/systemd-tty-ask-password-agent rPx,
|
||||
/{usr/,}lib/php/php[7-8].[3-4]-fpm-reopenlogs rPUx,
|
||||
/etc/init.d/nginx rPUx,
|
||||
/{usr/,}{s,}bin/squid rPUx,
|
||||
|
||||
/{usr/,}bin/pgrep rCx -> pgrep,
|
||||
|
||||
# no new privs
|
||||
#/{usr/,}bin/systemctl rCx -> systemctl,
|
||||
|
|
@ -98,5 +102,18 @@ profile logrotate @{exec_path} flags=(attach_disconnected) {
|
|||
include if exists <local/logrotate_systemctl>
|
||||
}
|
||||
|
||||
profile pgrep {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/pgrep mr,
|
||||
|
||||
# The /proc/ dir and the cmdline file have to be radable to avoid pgrep segfault.
|
||||
@{PROC}/ r,
|
||||
@{PROC}/@{pids}/cmdline r,
|
||||
@{PROC}/sys/kernel/osrelease r,
|
||||
|
||||
include if exists <local/logrotate_pgrep>
|
||||
}
|
||||
|
||||
include if exists <local/logrotate>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue