Good to hear your success. Thanks for the update. cheers -ben On Mon, Feb 8, 2016 at 12:57 AM, Robert Kuszinger <kuszinger@giscom.hu> wrote:
Hello Everyone!
I've tested NSSM successfully with manual service start and reboot/auto start as well.
Details:
Windows Server 2008 R2 64 bit.
For the log: Pharo.exe --headless <image_name> does nothing. Executed from windows command line in the directory where Pharo is installed (actually, extracted) NSSM
full path to pharo exe working directory is the path where Pharo.exe is put parameter: name of production image pu in the same working dir enable interaction with desktop (haven't tested without itt all other options are default
Service appears on service list. Started well manually. Seaside web server with installed app is alive and runs well Service manual stop function works (actually, kills it, no problem, this is a stateless server holding only volatile session data thus no shutdown callback is necessary)
That's all by far.
This seems to be a 100% solution to run Pharo WWW server on Windows as a service. Thanks for the many ideas and support.
Later on I may inform you on the results of real life situations (load, stability, etc).
Best regards Robert
Esteban Lorenzano <estebanlm@gmail.com> ezt Ãrta (idÅpont: 2016. febr. 1., H, 13:46):
On 01 Feb 2016, at 13:19, jan.struz <public+pharo@struz.cz> wrote:
Hi, try NSSM - https://nssm.cc/usage
I personally haven't found anything better.