nixos/tests/service-runner: change paths to nginx logs and cache

This commit is contained in:
Izorkin 2020-04-27 22:07:13 +03:00
parent 9f099143bc
commit 7b368b3072

View file

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