no sudo
This commit is contained in:
parent
26cd58fd6d
commit
41db8681f8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue