diff options
author | Bob van der Linden <bobvanderlinden@gmail.com> | 2018-12-19 22:53:53 +0100 |
---|---|---|
committer | Bob van der Linden <bobvanderlinden@gmail.com> | 2019-03-24 21:15:34 +0100 |
commit | 09bff929df3f48a2f689f3309778a69c702a672a (patch) | |
tree | d0bfaa980a958aa6634a056bec6e590248a84834 /nixos/tests/osquery.nix | |
parent | d8dc1226f431a9bd1f4b08df10ffddd38ff1960f (diff) |
nixos/tests: osquery: /var/run -> /run
Diffstat (limited to 'nixos/tests/osquery.nix')
-rw-r--r-- | nixos/tests/osquery.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/osquery.nix b/nixos/tests/osquery.nix index 281dbcff66438..d95871ffafc6f 100644 --- a/nixos/tests/osquery.nix +++ b/nixos/tests/osquery.nix @@ -11,7 +11,7 @@ with lib; machine = { services.osquery.enable = true; services.osquery.loggerPath = "/var/log/osquery/logs"; - services.osquery.pidfile = "/var/run/osqueryd.pid"; + services.osquery.pidfile = "/run/osqueryd.pid"; }; testScript = '' @@ -23,6 +23,6 @@ with lib; "echo 'SELECT value FROM osquery_flags WHERE name = \"logger_path\";' | osqueryi | grep /var/log/osquery/logs" ); - $machine->succeed("echo 'SELECT value FROM osquery_flags WHERE name = \"pidfile\";' | osqueryi | grep /var/run/osqueryd.pid"); + $machine->succeed("echo 'SELECT value FROM osquery_flags WHERE name = \"pidfile\";' | osqueryi | grep /run/osqueryd.pid"); ''; }) |