From 5d97513abc15785a6bd59c519e0f74e362ecb501 Mon Sep 17 00:00:00 2001 From: WebZation Date: Sat, 22 Oct 2016 02:22:27 -0200 Subject: [PATCH] Update nginx.conf Update to CentOS 7 comand! --- install/rhel/7/monit/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/rhel/7/monit/nginx.conf b/install/rhel/7/monit/nginx.conf index d29af043..8c4d6dc3 100644 --- a/install/rhel/7/monit/nginx.conf +++ b/install/rhel/7/monit/nginx.conf @@ -1,3 +1,3 @@ check process nginx with pidfile /var/run/nginx.pid - start program = "/etc/init.d/nginx start" - stop program = "/etc/init.d/nginx stop" + start program = "/usr/bin/systemctl start nginx" + stop program = "/usr/bin/systemctl stop nginx"