You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run.sh,sed sed -i "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.confdoes not work on mac, it should be replaced with sed -i "" "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.conf on MAC.
apisix when reload, os.execute return 3 values while linux return only 1.
what's more, I suggest change worker_processes \d+ to worker_processes .* in run.sh, because nginx.conf is usually set to worker_process = auto.
Environment
apisix version (cmd: apisix version): 1.3
OS: OSX
The text was updated successfully, but these errors were encountered:
Issue description
Here are two uncompatible on OSX:
sed -i "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.conf
does not work on mac, it should be replaced withsed -i "" "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.conf
on MAC.what's more, I suggest change
worker_processes \d+
toworker_processes .*
in run.sh, because nginx.conf is usually set toworker_process = auto
.Environment
apisix version
): 1.3The text was updated successfully, but these errors were encountered: