Sven Van Caekenberghe wrote:
Hi,
On 23 Jan 2014, at 16:14, Sebastian Sastre <[email protected]> wrote:
Hi there,
What are you using to monitor processes in headless images?
I ask because the new way to start a headless image in linux is:
pharo-vm/pharo -vm-display-null your.image —no-quit
And it seems that it always quits
I always start images with no preconfigured servers/services in them and then use an st script to start servers/services. Then you are using the STCommandLineHandler that does _not_ quit by default.
Furthermore, I have a script to control image/vm start/stop/restart/pid which I use from /etc/init.d with monit using these last scripts.
That would be a good thing to have in the Pharo For The Enterprise book.
HTH,
Sven
For example supervisord* is really unhappy about this way to run a service.
It’s really unfortunate. This is a show stopper.
Is there an OS signal being sent when you use -vm-display-null or the process stays normally up?
There is no way to run a headless image like we used to?
sebastian
o/
*http://supervisord.org/
|