mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
prometheus-node-exporter service: run as nobody again
Using DynamicUser breaks the systemd and logind collectors. cc #30535
This commit is contained in:
parent
b3dc24c8c8
commit
63bbada520
@ -69,8 +69,8 @@ in {
|
||||
${concatStringsSep " \\\n " cfg.extraFlags}
|
||||
'';
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
Restart = "always";
|
||||
User = "nobody";
|
||||
Restart = "always";
|
||||
PrivateTmp = true;
|
||||
WorkingDirectory = /tmp;
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
|
Loading…
Reference in New Issue
Block a user