Apparmor profile for unbound log

Материал из support.qbpro.ru
Версия от 04:25, 16 февраля 2024; Vix (обсуждение | вклад) (Новая страница: « mcedit /etc/apparmor.d/usr.sbin.unbound * Add this line (Here you should write a path to your "unbound.log" file. ): # Site-specific additions and overrides for usr.sbin.unbound. # For more details, please see /etc/apparmor.d/local/README. /var/log/unbound/unbound.log rw, Reload apparmor config and restart unbound services: apparmor_parser -r /etc/apparmor.d/usr.sbin.unbound service unbound restart or systemctl restart unbound»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
mcedit  /etc/apparmor.d/usr.sbin.unbound
  • Add this line (Here you should write a path to your "unbound.log" file. ):
# Site-specific additions and overrides for usr.sbin.unbound.
# For more details, please see /etc/apparmor.d/local/README.
/var/log/unbound/unbound.log rw,

Reload apparmor config and restart unbound services:

apparmor_parser -r /etc/apparmor.d/usr.sbin.unbound
service unbound restart

or

systemctl restart unbound