feat: add uptimed.

This commit is contained in:
Alexandre Pujol 2022-04-07 21:01:01 +01:00
parent 53682c678d
commit 26cb8f6b86
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -0,0 +1,22 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/uptimed
profile uptimed @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/etc/uptimed.conf r,
/var/spool/uptimed/records* rw,
@{run}/uptimed/uptimed.pid rw,
include if exists <local/uptimed>
}