浏览代码

Merge pull request #298 from philandstuff/master

Fix privilege error in monit tomcat6 config
Luke Cyca 10 年前
父节点
当前提交
a440e73808
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      roles/monitoring/files/etc_monit_conf.d_tomcat

+ 0
- 2
roles/monitoring/files/etc_monit_conf.d_tomcat 查看文件

@@ -1,8 +1,6 @@
1 1
 check process tomcat with pidfile "/var/run/tomcat6.pid"
2 2
   group mail
3 3
   start program = "/etc/init.d/tomcat6 start"
4
-  as uid tomcat6 gid tomcat6
5 4
   stop program = "/etc/init.d/tomcat6 stop"
6
-  as uid tomcat6 gid tomcat6
7 5
   if failed port 8080 then alert
8 6
   if failed port 8080 for 5 cycles then restart

正在加载...
取消
保存