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:
Sunil Mohan Adapa authored and James Valleroy committed 2024-02-21 20:54:52 -05:00
1 parent 02e409a3a1
commit 2fc354ea7f
1 file changed
+4 -1
+4 -1
View File
@@ -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)