|
From: | Yogesh Jangra |
Subject: | Monit with Node Js as foreground |
Date: | Mon, 3 Jun 2019 12:15:51 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hi all,I am trying to monitor a node js app using monit. The node server is getting started using a script which starts the server as an foreground process. but it results in specified error :-
failed to start (exit status -1) -- Program 'start_script.sh 8881' timed out after 30 s
1. Does monit `check process` expect an exit status as start_script output ? 2. Does monit support monitoring the foreground run processes, if yes, kindly give an example
Thanks
[Prev in Thread] | Current Thread | [Next in Thread] |