Something went wrong. Try again.
forked from libreqoe/libreqos
Something went wrong. Try again.
Add safegaurd against running LibreQoS.py more than once at a time. ISSUE #52
* Added file locking commands to the Python/Rust library. * When LibreQoS.py starts, it checks that /var/run/libreqos.lock does not exist. If it does, it checks that it contains a PID and that PID is not still running with a python process. * If the lock file exists and is valid, execution aborts. * If the lock file exists and is invalid, it is cleaned. * Cleans the lock on termination.
Author Herbert Wolverson Date (Feb 1, 2023, 5:09 PM UTC) Commit
Copy SHA
Parent d71f4103 d71f41033cce799111eef6ac1d1299851b0f2fe9