Skip to content

Commit 94b3358

Browse files
committed
nix: openresty doesn't die when tests are ran
1 parent f1d781b commit 94b3358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/nginxScript.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let
66
77
export PATH=${openresty}/bin:"$PATH"
88
9-
trap 'jobs -p | xargs kill -9' sigint sigterm exit
9+
trap 'killall openresty' sigint sigterm exit
1010
1111
openresty -p nix/nginx &
1212

0 commit comments

Comments
 (0)