mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-06 03:20:33 +00:00
0f309377ec
- give it a name - import needed abstractions - allow local additions - cleanup
26 lines
695 B
Plaintext
26 lines
695 B
Plaintext
# Basic profile for i2pd
|
|
# Should work without modifications with Ubuntu/Debian packages
|
|
# Author: Darknet Villain <supervillain@riseup.net>
|
|
#
|
|
#include <tunables/global>
|
|
|
|
profile i2pd /{usr/,}sbin/i2pd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/openssl>
|
|
#include <abstractions/nameservice>
|
|
|
|
# path specific (feel free to modify if you have another paths)
|
|
/etc/i2pd/** r,
|
|
/var/lib/i2pd/** rw,
|
|
/var/log/i2pd/i2pd.log w,
|
|
/{var/,}run/i2pd/i2pd.pid rwk,
|
|
/{usr/,}sbin/i2pd mr,
|
|
@{system_share_dirs}/i2pd/** r,
|
|
|
|
# user homedir (if started not by init.d or systemd)
|
|
owner @{HOME}/.i2pd/ rw,
|
|
owner @{HOME}/.i2pd/** rwk,
|
|
|
|
#include if exists <local/usr.sbin.i2pd>
|
|
}
|