zoph: Add shared daemon component for mariadb/mysql

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2024-02-13 16:32:39 -08:00 committed by James Valleroy
parent 2fc354ea7f
commit dbdac3b001
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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)