[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit] java daemons
From: |
francis |
Subject: |
[monit] java daemons |
Date: |
Thu, 14 Aug 2008 09:14:39 +0000 |
Hello Martin,
Thanks a lot for your good work.
I work in a VAS company. We have developed a few java daemons.
Monit is based on processID, my daemons do not have pid.
I understand that I should create a rapper scripts
One of my daemons is called, say xyz, locate in /app/japp/
i.e.
/app/japp/xyz.java
/app/japp/xyz.class
/app/japp/error_log
/app/japp/info_log
In my monitrc i should have someting like
check process xyz with pidfile /tmp/xyz.pid
start = "java /app/japp/xyz"
stop = " ???? stop"
I cant figure out how to create /tmp/xyz.pid and hoe to start or stop it in monit.
with regards
Francis
- [monit] java daemons,
francis <=