mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-05 12:19:31 +00:00
- And gracefully terminate the process after finishing the current requests underway. Tests: - Trigger a long operation such as an app installation. While the operation is underway, run 'systemctl stop freedombox-privilved.service'. Journal will show that the SIGTERM is handled and shutdown is more or less immediately complete. However, the whole process will wait until the ongoing request is complete and then exit. - During the wait period, no new requests are accepted as experienced with 'freedombox-cmd plinth is_package_manager_busy --no-args' command. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>