apparmor.d/apparmor.d/groups/cron/cron-sysstat
Jeroen Rijken 8f07ba8743 Replace shells with new sh_path variable
Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
2024-02-18 14:37:57 +01:00

22 lines
500 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /etc/cron.{hourly,daily,weekly,monthly}/sysstat
profile cron-sysstat @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} r,
@{sh_path} rix,
@{lib}/sysstat/sa2 rPx,
/etc/default/sysstat r,
include if exists <local/cron-sysstat>
}