ail-project / lacus

Lacus is a capturing system using playwright, as a web service.
BSD 3-Clause "New" or "Revised" License
43 stars 3 forks source link

[Feature] Allow to restart the capture manager only #4

Closed Rafiot closed 1 year ago

Rafiot commented 2 years ago

It is not super safe, but most of the time, the changes only apply to the process running the captures. Restarting this process only will most of the time be good enough and this way we won't trigger exceptions on the client side.

Rafiot commented 2 years ago

The somewhat quick and dirty solution right now is to send a kill signal 15 to the process, which will do the following:

Usage:

pkill -15 capture_manager
Rafiot commented 1 year ago

Fixed: https://github.com/ail-project/lacus/commit/7cb9269cce6602431f45a72a8d3c96fdb8b69036