Преглед на файлове

Merge pull request #885 from openbrasil/patch-11

Monit: update nginx.conf
Serghey Rodin преди 9 години
родител
ревизия
a787ef257d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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"