forked from mirrors/nixpkgs
nixosTests.service-runner: Redirect stdout to avoid blocking
This commit is contained in:
parent
1927b71928
commit
d659856747
|
@ -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
|
||||
"""
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue