#1 2023-01-19 20:05:43

Márcio Baroni
Member
From: Brasil
Registered: 2015-10-07
Posts: 33

Angelize

AB,
I am following the development of "Angelize" which will fit perfectly in my system.

I know it's not finished yet but I would like to ask if you have any plans to implement:
* run multiple instances of the same service (exe)
* service (exe) update in case of updating to a new version of exe

Offline

#2 2023-01-20 08:19:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,569
Website

Re: Angelize

Hello

* run multiple instances of the same service (exe)
is already possible.
Each sub-process is defined in its own .service file, and when monitored with "Start", there is nothing which prevent you for running the same executable several times in parallel: each one is tracked by its own monitoring thread, and its own ProcessID.

* service (exe) update in case of updating to a new version of exe
When there are levels of services, with dependencies, it is difficult to make it clean.
The easiest is to stop all services (i.e. call agl /stop) then replace the executable(s) then restart all services (agl /start).
You can try to override the TSynAngelize class to make it work as you expect for a particular process.

I will work today about documenting Angelize, which could be a convenient tool, even as a stand-alone exe with no interest in object pascal or mORMot.

Offline

Board footer

Powered by FluxBB