Browse Source

Merge pull request #888 from openbrasil/patch-14

Monit: update vesta-nginx.conf
Serghey Rodin 9 years ago
parent
commit
8279756ffb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      install/rhel/7/monit/vesta-nginx.conf

+ 2 - 2
install/rhel/7/monit/vesta-nginx.conf

@@ -1,3 +1,3 @@
 check process vesta-nginx with pidfile /var/run/vesta-nginx.pid
-    start program = "/etc/init.d/vesta start"
-    stop program  = "/etc/init.d/vesta stop"
+    start program = "/usr/bin/systemctl start vesta"
+    stop program  = "/usr/bin/systemctl stop vesta"