how to tell when restart is finished

accassar

Active Member
#1
Hello,

I am driving LSWS from some custom automation and after modifying the configuration we use the lswsctl restart to reload the config.

The issue I am having is that if the restart doesn't complete (ie the old lsws is still hanging around finalising requests) and I issue another reload, the processes just back up and I start getting intermittant errors.

What is the best way to know when LSWS has finished the reload and the old process has exited?
 
Top