As part of CICD process we are trying to see if there is a better way to stop and start LEI remotely on a windows server

As part of CICD process we are trying to see if there is a better way to stop and start LEI remotely on a windows server.

We are running 9.0.10 FP of Domino on Windows 64

Would be great help if there is any API for that or some sort of AdminP methods, where i can trigger them from a web service calls?

HEI LEI are started and stopped via Server commands. You can use the NotesSession SendConsoleCommand method to issue the needed server console command to

Tell LEI quit

or

Load LEI

You can write an agent or a Domino Web Service that uses that code to start or stop LEI.

Thanks Paul for the reply. Yes, this is known stuff in Domino Console level.
We can do custom service to do this stuff.

We provided windows level commands to folks to trigger it from Jenkins nserver option ..

nserver -c “tell lei quit”

nserver -c “load lei”

Just was curios to find any better way ..

Thank you.