From 41db8681f8fb805621aee785bfd815b590d19be7 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sun, 10 Jul 2022 00:38:09 +0000 Subject: [PATCH] no sudo --- docker/containers/tactical-nginx/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/containers/tactical-nginx/entrypoint.sh b/docker/containers/tactical-nginx/entrypoint.sh index 471084b4..db6da5ec 100644 --- a/docker/containers/tactical-nginx/entrypoint.sh +++ b/docker/containers/tactical-nginx/entrypoint.sh @@ -35,7 +35,7 @@ nginxdefaultconf='/etc/nginx/nginx.conf' # increase default nginx worker connections /bin/bash -c "sed -i 's/worker_connections.*/worker_connections ${WORKER_CONNECTIONS};/g' $nginxdefaultconf" -sudo sed -i '1s/^/worker_rlimit_nofile 1000000;\ +sed -i '1s/^/worker_rlimit_nofile 1000000;\ /' $nginxdefaultconf if [[ $DEV -eq 1 ]]; then