From 11e83d900c3197cd9ee7a4d24402f407fb553752 Mon Sep 17 00:00:00 2001 From: iliajie Date: Thu, 21 Jul 2022 15:29:17 +0300 Subject: [PATCH] Fix more configs for contemporary distros --- config-CentOS-Stream-Linux-8.0-ALL | 9 +++++++++ config-Redhat-Enterprise-Linux-7.0-ALL | 6 +++--- config-debian-linux-10.0-ALL | 11 +++++++++++ config-redhat-linux | 6 +++--- 4 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 config-CentOS-Stream-Linux-8.0-ALL create mode 100644 config-debian-linux-10.0-ALL diff --git a/config-CentOS-Stream-Linux-8.0-ALL b/config-CentOS-Stream-Linux-8.0-ALL new file mode 100644 index 0000000..e4e8505 --- /dev/null +++ b/config-CentOS-Stream-Linux-8.0-ALL @@ -0,0 +1,9 @@ +nginx_config=/etc/nginx/nginx.conf +nginx_cmd=/usr/sbin/nginx +start_cmd=systemctl start nginx +stop_cmd=systemctl stop nginx +apply_cmd=systemctl restart nginx +child_procs=4 +php_socket=1 +listen_mode=1 +proxy_websockets=0 diff --git a/config-Redhat-Enterprise-Linux-7.0-ALL b/config-Redhat-Enterprise-Linux-7.0-ALL index 142f157..e4e8505 100644 --- a/config-Redhat-Enterprise-Linux-7.0-ALL +++ b/config-Redhat-Enterprise-Linux-7.0-ALL @@ -1,8 +1,8 @@ nginx_config=/etc/nginx/nginx.conf nginx_cmd=/usr/sbin/nginx -start_cmd=service nginx start -stop_cmd=service nginx stop -apply_cmd=service nginx restart +start_cmd=systemctl start nginx +stop_cmd=systemctl stop nginx +apply_cmd=systemctl restart nginx child_procs=4 php_socket=1 listen_mode=1 diff --git a/config-debian-linux-10.0-ALL b/config-debian-linux-10.0-ALL new file mode 100644 index 0000000..c72da22 --- /dev/null +++ b/config-debian-linux-10.0-ALL @@ -0,0 +1,11 @@ +nginx_config=/etc/nginx/nginx.conf +nginx_cmd=/usr/sbin/nginx +start_cmd=systemctl start nginx +stop_cmd=systemctl stop nginx +apply_cmd=systemctl restart nginx +add_to=/etc/nginx/sites-available +add_link=/etc/nginx/sites-enabled +child_procs=4 +php_socket=1 +listen_mode=1 +proxy_websockets=0 diff --git a/config-redhat-linux b/config-redhat-linux index 500ea03..e4e8505 100644 --- a/config-redhat-linux +++ b/config-redhat-linux @@ -1,8 +1,8 @@ nginx_config=/etc/nginx/nginx.conf nginx_cmd=/usr/sbin/nginx -start_cmd=/etc/init.d/nginx start -stop_cmd=/etc/init.d/nginx stop -apply_cmd=/etc/init.d/nginx restart +start_cmd=systemctl start nginx +stop_cmd=systemctl stop nginx +apply_cmd=systemctl restart nginx child_procs=4 php_socket=1 listen_mode=1