Merge pull request #153445 from erdnaxe/prometheus_protecthome

nixos/prometheus-node-exporter: do not protect home
This commit is contained in:
Martin Weinelt 2022-07-10 17:21:44 +02:00 committed by GitHub
commit f8137a54eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,8 @@ in
];
# The timex collector needs to access clock APIs
ProtectClock = any (collector: collector == "timex") cfg.disabledCollectors;
# Allow space monitoring under /home
ProtectHome = true;
};
};
}