Sfoglia il codice sorgente

Update nginx.conf

Update to CentOS 7 comand!
WebZation 9 anni fa
parent
commit
5d97513abc
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      install/rhel/7/monit/nginx.conf

+ 2 - 2
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"