mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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 New Issue
Block a user