diff --git a/apparmor.d/profiles-s-z/uptimed b/apparmor.d/profiles-s-z/uptimed new file mode 100644 index 00000000..f96e0442 --- /dev/null +++ b/apparmor.d/profiles-s-z/uptimed @@ -0,0 +1,22 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}{s,}bin/uptimed +profile uptimed @{exec_path} { + include + + @{exec_path} mr, + + /etc/uptimed.conf r, + + /var/spool/uptimed/records* rw, + + @{run}/uptimed/uptimed.pid rw, + + include if exists +} \ No newline at end of file