cockpit: Depend on apache and setup after it

Closes: #2089.

Tests:

- Regular startup works without errors. Cockpit is ordered after Apache.

- After creating a fresh container, Cockpit works as expected. Cockpit setup
runs after Apache setup.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2022-07-06 17:18:44 -07:00 committed by James Valleroy
parent d5c0a221c9
commit 08821787bf
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -59,8 +59,9 @@ class CockpitApp(app_module.App):
super().__init__()
info = app_module.Info(app_id=self.app_id, version=self._version,
is_essential=True, name=_('Cockpit'),
icon='fa-wrench', icon_filename='cockpit',
depends=['apache'], is_essential=True,
name=_('Cockpit'), icon='fa-wrench',
icon_filename='cockpit',
short_description=_('Server Administration'),
description=_description, manual_page='Cockpit',
clients=manifest.clients)