about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorBob van der Linden <bobvanderlinden@gmail.com>2018-12-19 22:53:53 +0100
committerBob van der Linden <bobvanderlinden@gmail.com>2019-03-24 21:15:34 +0100
commit09bff929df3f48a2f689f3309778a69c702a672a (patch)
treed0bfaa980a958aa6634a056bec6e590248a84834 /nixos/tests
parentd8dc1226f431a9bd1f4b08df10ffddd38ff1960f (diff)
downloadnixlib-09bff929df3f48a2f689f3309778a69c702a672a.tar
nixlib-09bff929df3f48a2f689f3309778a69c702a672a.tar.gz
nixlib-09bff929df3f48a2f689f3309778a69c702a672a.tar.bz2
nixlib-09bff929df3f48a2f689f3309778a69c702a672a.tar.lz
nixlib-09bff929df3f48a2f689f3309778a69c702a672a.tar.xz
nixlib-09bff929df3f48a2f689f3309778a69c702a672a.tar.zst
nixlib-09bff929df3f48a2f689f3309778a69c702a672a.zip
nixos/tests: osquery: /var/run -> /run
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/osquery.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/osquery.nix b/nixos/tests/osquery.nix
index 281dbcff6643..d95871ffafc6 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");
   '';
 })