Skip to content

Commit 5d97513

Browse files
authored
Update nginx.conf
Update to CentOS 7 comand!
1 parent be837cb commit 5d97513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/rhel/7/monit/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
check process nginx with pidfile /var/run/nginx.pid
2-
start program = "/etc/init.d/nginx start"
3-
stop program = "/etc/init.d/nginx stop"
2+
start program = "/usr/bin/systemctl start nginx"
3+
stop program = "/usr/bin/systemctl stop nginx"

0 commit comments

Comments
 (0)