Parcourir la source

Correct UID for Tomcat/Solr Monit config. Fixes #19.

Alex Payne il y a 10 ans
Parent
révision
05059ac1fc
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      roles/monitoring/files/etc_monit_conf.d_tomcat

+ 3
- 3
roles/monitoring/files/etc_monit_conf.d_tomcat Voir le fichier

@@ -1,8 +1,8 @@
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 uid6 tomcat gid tomcat6
4
+  as uid tomcat6 gid tomcat6
5 5
   stop program = "/etc/init.d/tomcat6 stop"
6
-  as uid6 tomcat gid tomcat6
6
+  as uid tomcat6 gid tomcat6
7 7
   if failed port 8080 then alert
8
-  if failed port 8080 for 5 cycles then restart
8
+  if failed port 8080 for 5 cycles then restart

Chargement…
Annuler
Enregistrer