1 --- a/contrib/i2pd.service
2 +++ b/contrib/i2pd.service
3 @@ -33,5 +33,31 @@ LimitNOFILE=4096
4 # To enable write of coredump uncomment this
12 +ProtectKernelTunables=true
13 +ProtectControlGroups=true
15 +MemoryDenyWriteExecute=true
17 +SystemCallFilter=@system-service
18 +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
21 +ProtectKernelLogs=true
22 +ProtectKernelModules=true
23 +ProtectProc=invisible
27 +ReadWritePaths=/var/lib/i2pd /var/log/i2pd
29 +RestrictRealtime=true
30 +RestrictSUIDSGID=true
31 +SystemCallArchitectures=native
34 WantedBy=multi-user.target