mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Close: #1982. This eliminates the issue with calibre and wordpress services getting run even before the app is installed. These services are enabled when the app is installed. On disadvantage is that services are no longer restarted when a newer service file is installed. Users for whom caibre and wordpress have already been enabled. Nothing changes on upgrade and service will still be enabled. However, the services won't be attempted to be started without the app's being installed. This is good enough without having to write custom logic to disable these services. Tests: - Install freedombox package on a fresh setup. wordpress and calibre service files are not enabled. - When wordpress and calibre apps are installed, these services are enabled and run as expected. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>