nixos/tests/incron: replace activcationScript via tmpfiles

This commit is contained in:
nikstur
2023-12-29 03:21:36 +01:00
parent 80fa4731f9
commit 36f2ab21ea
+3 -3
View File
@@ -13,9 +13,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
'';
# ensure the directory to be monitored exists before incron is started
system.activationScripts.incronTest = ''
mkdir /test
'';
systemd.tmpfiles.settings.incron-test = {
"/test".d = { };
};
};
testScript = ''