mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
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:
parent
2fc354ea7f
commit
dbdac3b001
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user