From dbdac3b001ade5c84b55163cb0e5ab95590db9ce Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 13 Feb 2024 16:32:39 -0800 Subject: [PATCH] zoph: Add shared daemon component for mariadb/mysql Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/zoph/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plinth/modules/zoph/__init__.py b/plinth/modules/zoph/__init__.py index 85aec2b00..3f6297c19 100644 --- a/plinth/modules/zoph/__init__.py +++ b/plinth/modules/zoph/__init__.py @@ -8,6 +8,7 @@ from django.utils.translation import gettext_lazy as _ from plinth import app as app_module from plinth import cfg, frontpage, menu from plinth.config import DropinConfigs +from plinth.daemon import SharedDaemon from plinth.modules.apache.components import Webserver from plinth.modules.backups.components import BackupRestore from plinth.modules.firewall.components import Firewall @@ -89,6 +90,9 @@ class ZophApp(app_module.App): webserver = Webserver('webserver-zoph-freedombox', 'zoph-freedombox') self.add(webserver) + daemon = SharedDaemon('shared-daemon-zoph-mysql', 'mysql') + self.add(daemon) + backup_restore = ZophBackupRestore('backup-restore-zoph', **manifest.backup) self.add(backup_restore)