3
0
Fork 0
forked from mirrors/nixpkgs

nixosTests.service-runner: Redirect stdout to avoid blocking

This commit is contained in:
Robert Hensing 2021-11-05 21:22:31 +01:00
parent 1927b71928
commit d659856747

View file

@ -24,7 +24,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.succeed(
"""
mkdir -p /run/nginx /var/log/nginx /var/cache/nginx
${nodes.machine.config.systemd.services.nginx.runner} &
${nodes.machine.config.systemd.services.nginx.runner} >&2 &
echo $!>my-nginx.pid
"""
)