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 authored and James Valleroy committed 2022-07-12 20:00:18 -04:00
1 parent d5c0a221c9
commit 08821787bf
1 file changed
+3 -2
+3 -2
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)