fulcrum: allow access to /proc/meminfo

This still hides the proc subdirectories for other processes.

Without this setting, fulcrum fails when the config value of
`fast-sync` is greater than 2^31 bytes.
This commit is contained in:
Erik Arvstedt 2023-01-21 13:14:28 +01:00
parent c948af2e18
commit 86dc7e2669
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -126,6 +126,7 @@ in {
Restart = "on-failure";
RestartSec = "10s";
ReadWritePaths = cfg.dataDir;
ProcSubset = "all"; # Fulcrum requires read access to /proc/meminfo
} // nbLib.allowedIPAddresses cfg.tor.enforce;
};