Skip to content

Commit 276afe8

Browse files
aptalcathelamer
authored andcommitted
fix reaping zombie nginx workers
1 parent d723b14 commit 276afe8

File tree

1 file changed

+1
-1
lines changed
  • root/etc/services.d/nginx

1 file changed

+1
-1
lines changed

root/etc/services.d/nginx/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/with-contenv bash
22

33
if pgrep -f "[n]ginx:" > /dev/null; then
4-
pkill [n]ginx:
4+
pkill -ef [n]ginx:
55
fi
66

77
exec /usr/sbin/nginx -c /config/nginx/nginx.conf

0 commit comments

Comments
 (0)