mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- This is useful for managing redis service needed by the upcoming Nextcloud app. - Disable the daemon only if all the apps using it are disabled. Enable it when even one of the them is enabled. - The component is not a 'leader' component as it does not decide the enabled/disabled status of the app. Tests: - Unit tests pass. - Install zoph and wordpress with full patch series. If one of the apps is disabled, mysql service is still enabled and running. If both apps are disabled, then mysql service is disabled and not running. Enabled/disabled status of apps are accurate after they are enabled/disabled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
14 lines
219 B
ReStructuredText
14 lines
219 B
ReStructuredText
.. SPDX-License-Identifier: CC-BY-SA-4.0
|
|
|
|
Daemon
|
|
^^^^^^
|
|
|
|
.. autoclass:: plinth.daemon.Daemon
|
|
:members:
|
|
|
|
.. autoclass:: plinth.daemon.RelatedDaemon
|
|
:members:
|
|
|
|
.. autoclass:: plinth.daemon.SharedDaemon
|
|
:members:
|