how to tell when restart is finished

Discussion in 'General' started by accassar, Jun 27, 2012.

  1. accassar

    accassar Active Member


    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?
  2. webizen

    webizen Well-Known Member

    do full stop/start.

Share This Page