mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
wordpress: 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
02e409a3a1
commit
2fc354ea7f
@ -6,7 +6,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 Daemon
|
||||
from plinth.daemon import Daemon, SharedDaemon
|
||||
from plinth.modules.apache.components import Webserver
|
||||
from plinth.modules.backups.components import BackupRestore
|
||||
from plinth.modules.firewall.components import Firewall
|
||||
@ -106,6 +106,9 @@ class WordPressApp(app_module.App):
|
||||
daemon = Daemon('daemon-wordpress', 'wordpress-freedombox.timer')
|
||||
self.add(daemon)
|
||||
|
||||
daemon = SharedDaemon('shared-daemon-wordpress-mysql', 'mysql')
|
||||
self.add(daemon)
|
||||
|
||||
backup_restore = WordPressBackupRestore('backup-restore-wordpress',
|
||||
**manifest.backup)
|
||||
self.add(backup_restore)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user