#
# LICENSED UNDER AGPL 3.0
#
  profile default flags=(attach_disconnected) {
    include <abstractions/php-fpm>
    /srv/www/** r,
    owner /tmp/ r,
    owner /tmp/** rwlk,

    ###
    # include snippets provides e.g. by plugin directories
    #
    # We use the directory layout for abstraction includes in AppArmor 3
    #
    include if exists <php-fpm.d/default.d>
    #
    # allow admins to add snippets as well.
    #
    include if exists <local/php-fpm.d/default.d>
    #
    ###
  }
