#include <tunables/global>

profile nextcloud-notify-push /usr/sbin/nextcloud-notify-push {
  #include <abstractions/base>

  network inet,
  network inet6,

  # probably nameservice
  network raw,

  /proc/@{pid}/cgroup r,
  /proc/@{pid}/mountinfo r,
  /sys/fs/cgroup/cpu,cpuacct/cpu.cfs_quota_us r,
  /etc/gai.conf r,
  /{usr/,}etc/nsswitch.conf r,
  /etc/passwd r,
  /etc/resolv.conf r,
  /etc/hosts r,
  /etc/host.conf r,

  /var/lib/nscd/passwd r,
  /run/nscd/db* r,

  /srv/www/vhosts/nextcloud/public/config/config.php r,
}
