File full_node.apparmor of Package BitShares2

# (C) 2016 Peter Conrad <conrad@quisquis.de>
#
# This file is licensed under the terms of the MIT License.
# See the file "COPYING" contained in the same package for details.

#include <tunables/global>

/usr/sbin/BitShares2_witness_node {
	#include <abstractions/base>
	#include <abstractions/nameservice>
	#include <abstractions/openssl>

	#/dev/tty rw,

	owner /etc/BitShares2/*full* r,
	owner /var/cache/BitShares2/full_node/** rwl,
	owner /var/lib/BitShares2/full_node/ rw,
	owner /var/lib/BitShares2/full_node/** rwl,
	owner /var/log/BitShares2/full_node/** rwl,

	network tcp,
}