3 # InspIRCd -- Internet Relay Chat Daemon
5 # Copyright (C) 2020-2021 Sadie Powell <sadie@witchery.services>
7 # This file is part of InspIRCd. InspIRCd is free software: you can
8 # redistribute it and/or modify it under the terms of the GNU General Public
9 # License as published by the Free Software Foundation, version 2.
11 # This program is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 # To use this file move it to /etc/apparmor.d/inspircd
22 #include <tunables/global>
24 @BINARY_DIR@/inspircd {
25 #include <abstractions/base>
26 #include <abstractions/nameservice>
28 capability net_bind_service,
31 capability sys_resource,
33 @BINARY_DIR@/inspircd ixr,
37 @MODULE_DIR@/core_*.so mr,
38 @MODULE_DIR@/m_*.so mr,
42 # Required by the ldap module:
43 #include <abstractions/ldapclient>
45 # Required by the mysql module:
46 #include <abstractions/mysql>