# vim:syntax=apparmor
# Alberto - 26/Oct/2013
#include <tunables/global>
/usr/bin/rtorrent {
#include <abstractions/base>
#include <abstractions/nameservice>
# It uses openssl, give it access to the config and certs.
#include <abstractions/openssl>
#include <abstractions/ssl_certs>
@{HOME}/.rtorrent-session/ r,
@{HOME}/.rtorrent-session/** rwk,
@{HOME}/.rtorrent.rc r,
/var/media/torrent/** rwk,
}